Remove BatteryState & ScreenOff receivers
Description
Remove component that won't be used anymore thanks to jetpack's Work API:
- BatteryStateReceiver: Enable/Disable File synchronization based on Battery state
- ScreenOffReceiver: Trigger a full scan (remote files + local files) when screen turns off.
Issue(s)
backlog#7
Test environment
Use latest pipeline to get the APK
Sign APK
Manually push on rooted device as eDrive is a persistent app right now
Test procedures
Expected regression due to feature removal. new implementation of the feature will come with another MR
- When battery is low: File synchronization isn't disabled anymore
- When Battery is OK: File synchronization restart if disabled
- When you turn off the screen, the ObserverService isn't started anymore
Check in logcat for verification
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License
Edited by Vincent Bourgmayer