Browse Source

fix multiple bugs caused by launchMode="singleInstance" and noHistory="true"

following lines for ChatActivity were removed:
  android:launchMode="singleInstance"
  android:noHistory="true"

this solves:
- share files from local storage broken
- broken transitions (caused by "singleInstance")
- fix to open chat when navigating back from conversation info
- fix weird mixed conversations when opening a conversation by notification while being in another conversation

launchMode="singleInstance" was introduced when reimplementing breakout rooms for the conductor to activity migration. So for now this reverting might introduce problems for breakout rooms.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 năm trước cách đây
mục cha
commit
c9e99a7d6f
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      app/src/main/AndroidManifest.xml

+ 0 - 2
app/src/main/AndroidManifest.xml

@@ -211,8 +211,6 @@
 
         <activity
             android:name=".chat.ChatActivity"
-            android:launchMode="singleInstance"
-            android:noHistory="true"
             android:screenOrientation="portrait"
             android:theme="@style/AppTheme" />