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

Prevent NPE on log line. Use monotonically increasing time for alarm … #325

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Oct 1, 2018

  1. Prevent NPE on log line. Use monotonically increasing time for alarm …

    …manager scheduling calculations.
    
    https://developer.android.com/training/scheduling/alarms
    "There are two general clock types for alarms: "elapsed real time" and "real time clock" (RTC). Elapsed real time uses the "time since system boot" as a reference, and real time clock uses UTC (wall clock) time. This means that elapsed real time is suited to setting an alarm based on the passage of time (for example, an alarm that fires every 30 seconds) since it isn't affected by time zone/locale. The real time clock type is better suited for alarms that are dependent on current locale."
    
    https://stackoverflow.com/a/15400014
    linster committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    21b8668 View commit details
    Browse the repository at this point in the history