From 75f43c3e3d429c89b3f775728d26c8fef4c091f2 Mon Sep 17 00:00:00 2001 From: Seb3thehacker Date: Tue, 3 Nov 2026 13:07:33 -0800 Subject: [PATCH] Launcher mode: Gearslip as the home screen of a head unit or a dash tablet Turned on under Settings > Connection, Gearslip's car screen fills the device's own display as its home app. An All apps page opens any other app full screen, Back and a head unit's keys work the car UI, and Phone hides on devices that can't call. Phones never see Gearslip offered as a home app unless it's switched on. --- gearslip/src/main/AndroidManifest.xml | 20 +++ .../app/seb3thehacker/gearslip/GearslipLog.kt | 6 + .../gearslip/LauncherActivity.kt | 147 ++++++++++++++++++ .../gearslip/car/AllAppsScreen.kt | 65 ++++++++ .../gearslip/car/AssistantCommands.kt | 2 +- .../app/seb3thehacker/gearslip/car/CarApps.kt | 10 ++ .../seb3thehacker/gearslip/car/CarLauncher.kt | 7 +- .../gearslip/car/CarSettingsScreen.kt | 3 +- .../app/seb3thehacker/gearslip/car/CarUi.kt | 7 +- .../gearslip/car/LauncherMode.kt | 79 ++++++++++ .../app/seb3thehacker/gearslip/car/NavApps.kt | 22 ++- .../gearslip/car/PhoneAppsScreen.kt | 2 +- .../gearslip/ui/CarPreviewScreen.kt | 142 ++++++++++------- .../gearslip/ui/HomeCarSettings.kt | 8 +- .../gearslip/ui/SettingsScreen.kt | 16 ++ gearslip/src/main/res/values/strings.xml | 6 + 16 files changed, 476 insertions(+), 66 deletions(-) create mode 100644 gearslip/src/main/java/app/seb3thehacker/gearslip/LauncherActivity.kt create mode 100644 gearslip/src/main/java/app/seb3thehacker/gearslip/car/AllAppsScreen.kt create mode 100644 gearslip/src/main/java/app/seb3thehacker/gearslip/car/LauncherMode.kt diff --git a/gearslip/src/main/AndroidManifest.xml b/gearslip/src/main/AndroidManifest.xml index b9bd33f..df6e0e7 100644 --- a/gearslip/src/main/AndroidManifest.xml +++ b/gearslip/src/main/AndroidManifest.xml @@ -160,6 +160,26 @@ + + + + + + + + +