diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 6039a30..3487f11 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -9,6 +9,14 @@ + + + + diff --git a/android/app/src/main/java/com/remotedisplay/player/SetupActivity.kt b/android/app/src/main/java/com/remotedisplay/player/SetupActivity.kt index 9b77cb6..6641883 100644 --- a/android/app/src/main/java/com/remotedisplay/player/SetupActivity.kt +++ b/android/app/src/main/java/com/remotedisplay/player/SetupActivity.kt @@ -160,6 +160,18 @@ class SetupActivity : AppCompatActivity() { // Default launcher / HOME: a kiosk MUST be the default launcher, else Android returns to the // stock launcher and tears down + recreates the player on a loop (it never renders). Request // the HOME role (clean system dialog on API 29+); fall back to the Home-app picker in Settings. + // OPTIONAL: location, solely so the device page can show the Wi-Fi network name. Requested + // only when someone taps this row — never at startup, and nothing else in the player depends + // on it. Once granted (or permanently denied) requestPermissions() stops prompting, so an + // already-answered row sends you to app settings where it can be changed either way. + findViewById