mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 17:41:19 +00:00
parent
76b5c31433
commit
9a4d4ec2d5
1 changed files with 0 additions and 4 deletions
|
|
@ -65,10 +65,6 @@ public abstract class FullScreenGodotApp extends FragmentActivity implements God
|
|||
} else {
|
||||
Log.v(TAG, "Creating new Godot fragment instance.");
|
||||
godotFragment = initGodotInstance();
|
||||
if (godotFragment == null) {
|
||||
throw new IllegalStateException("Godot instance must be non-null.");
|
||||
}
|
||||
|
||||
getSupportFragmentManager().beginTransaction().replace(R.id.godot_fragment_container, godotFragment).setPrimaryNavigationFragment(godotFragment).commitNowAllowingStateLoss();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue