Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit c9d04dc

Browse files
committed
switch to launchMode="singleTask" because otherwise a second jitsi activity would be launched when clicking on the background notification
1 parent 1c708fb commit c9d04dc

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

jitsi_meet_wrapper/android/src/main/AndroidManifest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="dev.saibotma.jitsi_meet_wrapper">
33
<application>
4-
<!-- some config changes are required for PiP (https://developer.android.com/guide/topics/ui/picture-in-picture#single_playback) -->
5-
<!-- Need autoRemoveFromRecents, otherwise an extra task for the jitsi view will stay open -->
4+
<!-- launchMode="singleTask" is required, because the Jitsi Activity should launch in a new task so that the flutter activity is still usable; See also https://developer.android.com/develop/ui/views/picture-in-picture#single_playback -->
5+
<!-- autoRemoveFromRecents="true" is required, because otherwise the new task of the JitsiMeetWrapperActivity will not close on hang up -->
66
<activity
77
android:name="dev.saibotma.jitsi_meet_wrapper.JitsiMeetWrapperActivity"
8-
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
8+
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
9+
android:launchMode="singleTask"
10+
android:theme="@style/JitsiMeetActivityStyle"
911
android:resizeableActivity="true"
1012
android:supportsPictureInPicture="true"
11-
android:theme="@style/MeetingTheme"
1213
android:windowSoftInputMode="adjustResize"
13-
android:exported="false"
1414
android:autoRemoveFromRecents="true">
1515
</activity>
1616
</application>

jitsi_meet_wrapper/android/src/main/res/values/styles.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)