You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a009f33
Browse filesBrowse the repository at this point in the historyBrowse files
release: EVABRPUploader 2.1.2 — permissions declared but never granted
- Foreground service type: the service declares `location`, and the plain
two-argument startForeground claims every declared type. Since API 34 each is
validated against the permissions held right then, so on a car where position was
never granted the service threw SecurityException in onCreate and never uploaded.
The type is now claimed only while its permission is held, and re-asserted on
every start so a later grant applies without a reboot.
- Ordering: the activity requested position *after* starting the service, which made
the first launch on a new install the one case that could never work.
- CAR_EXTERIOR_ENVIRONMENT and CONTROL_CAR_CLIMATE were declared and read since 2.1.0
but never requested, so outside and cabin temperature were dropped from every
payload on cars that would have answered.
- POST_NOTIFICATIONS was declared and never requested: the service's only status
display was silently dropped from Android 13 on.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments