[Jrisk-cvs] SF.net SVN: domination-code:[2712] Domination/android/src/net/yura/ domination/android/
Brought to you by:
yuranet
|
From: <yu...@us...> - 2025-12-12 17:22:36
|
Revision: 2712
http://sourceforge.net/p/domination/code/2712
Author: yuranet
Date: 2025-12-12 17:22:33 +0000 (Fri, 12 Dec 2025)
Log Message:
-----------
activity setup section moved to AndroidME
Modified Paths:
--------------
Domination/android/src/net/yura/domination/android/GameActivity.java
Modified: Domination/android/src/net/yura/domination/android/GameActivity.java
===================================================================
--- Domination/android/src/net/yura/domination/android/GameActivity.java 2025-12-09 19:13:57 UTC (rev 2711)
+++ Domination/android/src/net/yura/domination/android/GameActivity.java 2025-12-12 17:22:33 UTC (rev 2712)
@@ -37,7 +37,6 @@
import net.yura.android.AndroidMeApp;
import net.yura.android.AndroidPreferences;
import net.yura.domination.BuildConfig;
-import net.yura.domination.engine.ColorUtil;
import net.yura.domination.engine.RiskUtil;
import net.yura.domination.engine.translation.TranslationBundle;
import net.yura.domination.mobile.flashgui.DominationMain;
@@ -159,14 +158,6 @@
logger.log(Level.INFO, "can not check for updates", th);
}
- // make the navigation bar BLACK (the default seems to be white on some phones, e.g Samsung Galaxy S9)
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
- // it seems this flag is ALSO needed for when we swap from normal to fullscreen mode
- // otherwise the very first time we go into fullscreen we will get a black bar at the bottom
- getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
- getWindow().setNavigationBarColor(ColorUtil.BLACK);
- }
-
// enable full screen if needed
checkIfFullScreenNeeded();
// keep enabling full screen as android seems to always want to come out of this mode
|