summaryrefslogtreecommitdiff
path: root/android/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
-rw-r--r--android/app/src/main/AndroidManifest.xml21
1 files changed, 13 insertions, 8 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 148d841..db97b1b 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -33,20 +33,25 @@
android:exported="false"
android:windowSoftInputMode="adjustResize|stateVisible" />
- <!-- Full dashboard, wrapped in a WebView (see DashboardActivity's doc comment) -->
+ <!-- Full dashboard, wrapped in a WebView (see DashboardActivity's doc comment).
+ Now the app's single launcher entry point; Settings is reached from its
+ toolbar gear button instead of its own home-screen icon. -->
<activity
android:name=".ui.DashboardActivity"
- android:exported="false"
- android:label="Doot" />
-
- <!-- Settings activity (also the widget config screen) -->
- <activity
- android:name=".ui.SettingsActivity"
- android:exported="true">
+ android:exported="true"
+ android:label="Doot">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
+ </activity>
+
+ <!-- Settings activity (also the widget config screen, which is why it must
+ stay exported=true: the launcher/home-screen process starts it directly
+ during widget placement, regardless of the app's own launcher entry). -->
+ <activity
+ android:name=".ui.SettingsActivity"
+ android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>