-
Notifications
You must be signed in to change notification settings - Fork 2
Description
When I changed the icon from a custom one to the default one, it opened the app settings instead of the app itself.
I did all the settings in the AndroidManifest file as mentioned in the README.
To fix this,
<activity-alias android:name=".MainActivityDefault" android:enabled="true" android:exported="true" android:icon="@mipmap/ic_launcher_default" android:targetActivity=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity-alias>
I added the LAUNCHER category in the alias with the same as the others. I mean
<category android:name="android.intent.category.LAUNCHER" />
With this, it works as it should. I am not sure why it is asked to remove this for the default one, but I think it should not.