mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
- Remove ACTION_PACKAGE_REPLACED handler and manifest entry; MY_PACKAGE_REPLACED
covers all supported API levels, so both firing caused startService() to be
called twice on pre-S devices
- Merge identical ACTION_MY_PACKAGE_REPLACED and ACTION_BOOT_COMPLETED branches
- Replace busy-poll loop with isStartingAppState.first { !it } for efficient suspension
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>