Update GameActivity.java
Handle android onWindowFocusChanged in GameActivity.java
This commit is contained in:
committed by
Joshua Granick
parent
164121bbd2
commit
c3b8f49ee0
@@ -310,6 +310,15 @@ public class GameActivity extends SDLActivity {
|
|||||||
::end::
|
::end::
|
||||||
|
|
||||||
|
|
||||||
|
@Override public void onWindowFocusChanged(boolean hasFocus) {
|
||||||
|
|
||||||
|
super.onWindowFocusChanged(hasFocus);
|
||||||
|
|
||||||
|
updateSystemUI ();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void openFile (String path) {
|
public static void openFile (String path) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -428,4 +437,4 @@ public class GameActivity extends SDLActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user