Skip to content

Commit

Permalink
Separates launcher icon from main settings activity (so it can be dis…
Browse files Browse the repository at this point in the history
…abled without making microG settings inaccessible since there are launchers that doesn't allow to hide Apps on their own)
  • Loading branch information
ale5000-git committed Sep 19, 2023
1 parent 1f855bc commit ce9220e
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions play-services-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,9 @@
android:authorities="com.google.android.gms.fonts"
android:exported="true" />

<!-- microG Settings shown in Launcher -->
<!-- microG Settings activity -->
<activity
android:name="org.microg.gms.ui.SettingsActivity"
android:name="org.microg.gms.ui.MainSettingsActivity"
android:icon="@mipmap/ic_app_settings"
android:label="@string/gms_settings_name"
android:process=":ui"
Expand All @@ -511,7 +511,6 @@
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
Expand All @@ -522,6 +521,22 @@
</intent-filter>
</activity>

<!-- microG Settings activity-alias shown in Launcher -->
<activity-alias
android:name="org.microg.gms.ui.SettingsActivity"
android:icon="@mipmap/ic_app_settings"
android:label="@string/gms_settings_name"
android:roundIcon="@mipmap/ic_app_settings"
android:process=":ui"
android:targetActivity="org.microg.gms.ui.SettingsActivity"
android:taskAffinity="org.microg.gms.settings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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

<activity
android:name="org.microg.gms.ui.SettingsDashboardActivity"
android:icon="@mipmap/ic_app_settings"
Expand Down

0 comments on commit ce9220e

Please sign in to comment.