feat: add ota and ui changes

This commit is contained in:
TCFDONMEZ
2026-09-29 14:32:25 +03:00
parent c102625306
commit 511c166436
61 changed files with 895 additions and 2178 deletions
-15
View File
@@ -5,12 +5,6 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- Optional local window automation; independent of the location/upload service. -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<!-- The window close fires exactly as the driver leaves and the head unit heads for
suspend. Without a wake lock held across the pulse, the unit can sleep partway
through and leave the glass halfway up with no STOP ever sent. -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Required from API 33 to post the foreground-service notification, which is the
only status UI the service has. Without it the notification is silently dropped. -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
@@ -72,15 +66,6 @@
android:exported="false"
android:foregroundServiceType="location" />
<service
android:name=".WindowCloseService"
android:exported="false"
android:foregroundServiceType="specialUse">
<property
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
android:value="Local MG4 parked front-door monitoring and bounded window closing" />
</service>
<!-- The head unit resumes far more often than it cold-boots, and announces the
resume with QUICKBOOT_POWERON. Listening only for BOOT_COMPLETED is why
uploading did not start with the car. MY_PACKAGE_REPLACED covers the other