mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 23:14:03 -05:00
When launching a flash intent using FLAG_ACTIVITY_CLEAR_TOP, Android recreates MainActivity if singleTop or singleTask is not set, causing the app to briefly display the home screen before showing the flash screen. Set MainActivity to singleTask, add FLAG_ACTIVITY_SINGLE_TOP to flash intents, and default cold-start flash zip intents to the modules tab. Assisted-by: Gemini 3.7 Flash
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<application android:localeConfig="@xml/locale_config">
|
|
<activity
|
|
android:name=".ui.MainActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTask"
|
|
android:theme="@style/SplashTheme">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".ui.surequest.SuRequestActivity"
|
|
android:directBootAware="true"
|
|
android:exported="false"
|
|
android:taskAffinity=""
|
|
tools:ignore="AppLinkUrlError">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
</manifest>
|