mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Introduce activity-alias for Launcher Activity
This commit is contained in:
parent
4505d13385
commit
79735c6338
1 changed files with 8 additions and 2 deletions
|
@ -19,13 +19,19 @@
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".features.MainActivity"
|
android:name=".features.MainActivity"
|
||||||
android:theme="@style/AppTheme.Launcher">
|
android:theme="@style/AppTheme.Launcher" />
|
||||||
|
|
||||||
|
<!-- Activity alias for the launcher Activity (must be declared after the Activity it targets) -->
|
||||||
|
<activity-alias
|
||||||
|
android:name=".features.Alias"
|
||||||
|
android:targetActivity=".features.MainActivity">
|
||||||
<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=".features.home.HomeActivity" />
|
<activity android:name=".features.home.HomeActivity" />
|
||||||
<activity android:name=".features.login.LoginActivity" />
|
<activity android:name=".features.login.LoginActivity" />
|
||||||
|
|
Loading…
Reference in a new issue