Introduce activity-alias for Launcher Activity

This commit is contained in:
Benoit Marty 2019-06-26 12:14:10 +02:00 committed by Benoit Marty
parent 4505d13385
commit 79735c6338

View File

@ -19,13 +19,19 @@

<activity
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>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</activity-alias>


<activity android:name=".features.home.HomeActivity" />
<activity android:name=".features.login.LoginActivity" />