I2P Address: [http://git.idk.i2p]

Skip to content

Battery optimization fix

Set flag FLAG_ACTIVITY_NEW_TASK before starting activity with context in order to bring the battery optimization prompt to front of the screen.

FLAG_ACTIVITY_NEW_TASK is necessary for "launcher" style behavior.

At first start, if user selects "yes" for the "Manage Battery Optimizations?" prompt, Android system battery optimization prompt now appears and appropriately adjusts settings based on the user's selection.

Merge request reports

Loading