Display Launcher v0.3.3
馃殌 Reliability & Boot Enhancements
-
BootReceiver Self-Healing Mechanism: Added a self-healing check in
LauncherService.onCreate()to combat aggressive Smart TV/Display OS power management. Certain Android implementations (such as Hisense/Android TV sets) silently place background broadcast receivers intodisabledComponentsafter reboots, breaking theBOOT_COMPLETEDbroadcast. The service now checksPackageManageron startup and dynamically forcesBootReceiverback toENABLED, guaranteeing that the launcher daemon and local web server survive cold reboots and hard power cuts.- Ported from
adb-auto-enablePR #17 (Credit:@andornaut).
- Ported from
-
Automated Web Server Watchdog: Introduced a background monitoring handler that checks the local web server every 60 seconds. If the server drops offline or encounters an unexpected exception, it is automatically re-initialized without needing manual intervention.
-
Enhanced Background Service Persistence: Strengthened
onTaskRemovedhandling using systemAlarmManagerfallbacks, ensuring the background service immediately revives itself if the launcher task is cleared from memory by the OS. -
Android 13+ Notification Resilience: Improved foreground service handling when running on modern Android versions. If notification permissions are suppressed or denied, the service now continues executing safely in the background without triggering system crash timeouts.
Full Changelog: v0.3.2...v0.3.3