Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Allow to set the notification to executes on idle #959

Merged
merged 1 commit into from
Apr 15, 2020

Commits on Dec 7, 2018

  1. [Android] Allow to set the notification to executes on idle

    On Android 6.0 (API level 23) and above in order to reduce battery
    consumption, the system enters in Doze mode whilethe device is unused
    for long periods of time.
    While on Doze mode the AlarmManager alarms dont execute exactly on the
    scheduled time, they are deferred to the next maintenance window. This
    cause the notifications to show after their scheduled time.
    This change adds a new attribute `allowWhileIdle` to allow the
    notification to be displayed while on doze
    Henrique Shiraiwa committed Dec 7, 2018
    Configuration menu
    Copy the full SHA
    6cf060a View commit details
    Browse the repository at this point in the history