mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 12:48:56 +07:00
Resolved #872 - Added Immersive mode, for users whose navigation bar is a virtual, not physical one
This commit is contained in:
@ -1,14 +1,11 @@
|
||||
package com.unciv.app;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.badlogic.gdx.backends.android.AndroidApplication;
|
||||
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
|
||||
import com.unciv.UnCivGame;
|
||||
|
||||
import static android.content.Intent.ACTION_VIEW;
|
||||
|
||||
public class AndroidLauncher extends AndroidApplication {
|
||||
@Override
|
||||
protected void onCreate (Bundle savedInstanceState) {
|
||||
@ -16,8 +13,7 @@ public class AndroidLauncher extends AndroidApplication {
|
||||
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
|
||||
String version = BuildConfig.VERSION_NAME;
|
||||
|
||||
|
||||
Intent openInActionView = new Intent(ACTION_VIEW);
|
||||
config.useImmersiveMode=true;
|
||||
|
||||
initialize(new UnCivGame(version), config);
|
||||
}
|
||||
|
Reference in New Issue
Block a user