Complete Phase 3 integration features: WorkManager: - HeartbeatWorker for periodic agent checks - Cron job scheduling support - Respects Doze mode and battery optimization Data Persistence: - SettingsRepository with DataStore - Encrypted API key storage (Android Keystore) - Settings flow for reactive UI Quick Settings: - ZeroClawTileService for notification shade - Toggle agent on/off - Shows running status Share Intent: - ShareHandler parses incoming content - Supports text, URLs, images - Generates agent prompts Battery Optimization: - BatteryUtils for exemption requests - Manufacturer-specific handling (Xiaomi, Huawei, etc.) - Settings UI shows optimization status Other: - Updated BootReceiver with settings integration - CI workflow for Android builds (ci-android.yml) - Updated README with Phase 3 completion Total: ~950 new lines across 11 files |
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||