mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Disasbled game in a separate window
Also, returned the multi-process launch(so that we can have more memory)
This commit is contained in:
parent
4841f6a4d3
commit
96d73f13a3
@ -13,6 +13,7 @@
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
|
||||
<application
|
||||
android:process=":launcher"
|
||||
android:allowBackup="true"
|
||||
android:name=".PojavApplication"
|
||||
android:theme="@style/AppTheme"
|
||||
@ -88,8 +89,8 @@
|
||||
android:name=".authenticator.microsoft.ui.MicrosoftLoginGUIActivity"/>
|
||||
<activity
|
||||
android:launchMode="standard"
|
||||
android:multiprocess="true"
|
||||
android:screenOrientation="sensorLandscape"
|
||||
android:process=":game"
|
||||
android:name=".MainActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|keyboard|navigation"/>
|
||||
|
||||
|
@ -394,8 +394,6 @@ public class MinecraftDownloaderTask extends AsyncTask<String, String, Throwable
|
||||
try {
|
||||
Intent mainIntent = new Intent(mActivity, MainActivity.class /* MainActivity.class */);
|
||||
// mainIntent.addFlags(Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT);
|
||||
mainIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
|
||||
mainIntent.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
|
||||
mActivity.startActivity(mainIntent);
|
||||
mActivity.finish();
|
||||
Log.i("ActCheck","mainActivity finishing="+mActivity.isFinishing()+", destroyed="+mActivity.isDestroyed());
|
||||
|
Loading…
x
Reference in New Issue
Block a user