MainActivity now requests battery optimization exemption on first launch so the foreground service survives Doze mode during long walks. The REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission was already declared in the manifest. Unit test coverage confirmed across all core logic: BeepGeneratorTest (4), BpmCalculatorTest (6), SettingsRepositoryTest (6). |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||