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

alarm service #597

Merged
merged 21 commits into from
May 15, 2022
Merged

alarm service #597

merged 21 commits into from
May 15, 2022

Commits on May 6, 2022

  1. NotificationService

    pass the service startId to alarm receiver listeners
    forrestguice committed May 6, 2022
    Configuration menu
    Copy the full SHA
    9803c4d View commit details
    Browse the repository at this point in the history
  2. stopSelf

    stopSelf( id )
    forrestguice committed May 6, 2022
    Configuration menu
    Copy the full SHA
    6fa4680 View commit details
    Browse the repository at this point in the history
  3. ForegroundNotifications

    forrestguice committed May 6, 2022
    Configuration menu
    Copy the full SHA
    b23a70d View commit details
    Browse the repository at this point in the history
  4. stopService

    TODO
    forrestguice committed May 6, 2022
    Configuration menu
    Copy the full SHA
    f10ccd0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e5baff9 View commit details
    Browse the repository at this point in the history
  6. stopSelf

    skip stopSelf if showing a foreground notification (the service should live on with the notification)
    forrestguice committed May 6, 2022
    Configuration menu
    Copy the full SHA
    967b9fd View commit details
    Browse the repository at this point in the history
  7. stopSelf

    forrestguice committed May 6, 2022
    Configuration menu
    Copy the full SHA
    1564c56 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2022

  1. fix npe

    fix NullPointerException on undo 'clear alarms' (empty list)
    forrestguice committed May 7, 2022
    Configuration menu
    Copy the full SHA
    2162329 View commit details
    Browse the repository at this point in the history
  2. test

    adds AlarmNotificationsTest; implements AlarmNotifications local binder (so the test can bind to the service), and static `t_hasCalledStopSelf` (so the test can verify calls to stopSelf).
    forrestguice committed May 7, 2022
    Configuration menu
    Copy the full SHA
    51492c9 View commit details
    Browse the repository at this point in the history
  3. stopSelf

    NotificationService calls stopSelf() if the context is null, alarm item is null (not found). action is unrecognized, or alarm transitions fail (invalid state).
    forrestguice committed May 7, 2022
    Configuration menu
    Copy the full SHA
    bcc088b View commit details
    Browse the repository at this point in the history
  4. test

    AlarmNotifications
    forrestguice committed May 7, 2022
    Configuration menu
    Copy the full SHA
    2e39880 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. test

    test AlarmNotifications media player
    forrestguice committed May 9, 2022
    Configuration menu
    Copy the full SHA
    5f76eed View commit details
    Browse the repository at this point in the history
  2. test

    forrestguice committed May 9, 2022
    Configuration menu
    Copy the full SHA
    46d4edf View commit details
    Browse the repository at this point in the history
  3. startAlert

    forrestguice committed May 9, 2022
    Configuration menu
    Copy the full SHA
    44a5bfb View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. getFallbackRingtoneUri

    forrestguice committed May 10, 2022
    Configuration menu
    Copy the full SHA
    44c8645 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Configuration menu
    Copy the full SHA
    ccddf04 View commit details
    Browse the repository at this point in the history
  2. isValidSoundUri

    reject alarm sounds that aren't content:/, file:/ or android.resource:/ .. replace these with the default or fallback.
    forrestguice committed May 12, 2022
    Configuration menu
    Copy the full SHA
    6748af4 View commit details
    Browse the repository at this point in the history
  3. startAlert

    If playing the default sound fails, make a final attempt using the fallback sound (rtttl).
    forrestguice committed May 12, 2022
    Configuration menu
    Copy the full SHA
    6c5dd7c View commit details
    Browse the repository at this point in the history
  4. isValidSoundUri

    forrestguice committed May 12, 2022
    Configuration menu
    Copy the full SHA
    0ddd590 View commit details
    Browse the repository at this point in the history
  5. test

    forrestguice committed May 12, 2022
    Configuration menu
    Copy the full SHA
    47106a7 View commit details
    Browse the repository at this point in the history
  6. test

    forrestguice committed May 12, 2022
    Configuration menu
    Copy the full SHA
    2d8b50a View commit details
    Browse the repository at this point in the history