fix(AudioServiceActivity): change launch mode to singleTask for better task management (fixes: #733)

This commit is contained in:
Valeri Gokadze
2026-02-27 15:53:06 +04:00
parent ce79144741
commit c5fb3cc3aa

View File

@@ -41,9 +41,8 @@
<activity
android:name="com.ryanheise.audioservice.AudioServiceActivity"
android:exported="true"
android:launchMode="singleTop"
android:launchMode="singleTask"
android:allowCrossUidActivitySwitchFromBelow="false"
android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
@@ -96,6 +95,7 @@
<data android:scheme="http" android:host="youtu.be" />
<data android:scheme="https" android:host="youtu.be" />
</intent-filter>
</activity>
<!-- Flutter embedding meta-data -->