mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Preserve shortcuts to old launcher activity
Add an activity alias for RoutingActivity that points to the new launcher activity. Fixes #2878. Closes #2887.
This commit is contained in:
parent
efb4f388a5
commit
86253f3772
@ -95,14 +95,19 @@
|
|||||||
<activity android:name=".ConversationListActivity"
|
<activity android:name=".ConversationListActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"
|
||||||
|
android:exported="true" />
|
||||||
|
|
||||||
|
<activity-alias android:name=".RoutingActivity"
|
||||||
|
android:targetActivity=".ConversationListActivity"
|
||||||
|
android:exported="true">
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|
||||||
</activity>
|
</activity-alias>
|
||||||
|
|
||||||
<activity android:name=".ConversationActivity"
|
<activity android:name=".ConversationActivity"
|
||||||
android:windowSoftInputMode="stateUnchanged"
|
android:windowSoftInputMode="stateUnchanged"
|
||||||
|
Loading…
Reference in New Issue
Block a user