1. 17 Mar, 2016 1 commit
  2. 25 Feb, 2016 1 commit
  3. 19 Feb, 2016 2 commits
    • Justin Klaassen's avatar
      Merge remote-tracking branch 'goog/ub-deskclock-dazzle_nyc' into nyc-dev · 2c535e27
      Justin Klaassen authored
      * goog/ub-deskclock-dazzle_nyc: (122 commits)
        Add android.support.design proguard flags
        Use ACTION_LOCKED_BOOT_COMPLETED on API 24+ - DO NOT MERGE
        Teach DeskClock about file-based encryption. - DO NOT MERGE
        Refactoring SharedPreferences to common location. - DO NOT MERGE
        Use AppCompat's imageButtonStyle attribute - DO NOT MERGE
        Use SimpleItemAnimator - DO NOT MERGE
        Bump version to 4.5.0 - DO NOT MERGE
        Do not assume current stopwatch lap has positive duration
        Avoid IndexOutOfBounds when deleting timer - DO NOT MERGE
        Fix snooze event tracking
        Rebuild notifications after app upgrade
        Fire timers as scheduled after app upgrade
        Create AlarmObserverPreL in onCreate
        Handle deleted timers gracefully
        Fix alarm not firing in memory-pressure situations
        Promote TimerService to the foreground while expired timers exist
        Match firing alarms for SEARCH_MODE == alarm.next
        Fix alarm icon cut off in 1x4 digital widget on nexus 5
        Import translations. DO NOT MERGE
        Attempt to avoid early death of AlarmService
        ...
      
      Change-Id: I422291e92ca76a901aba0d192749789916495711
      2c535e27
    • Justin Klaassen's avatar
      Add android.support.design proguard flags · 4a90936e
      Justin Klaassen authored
      Change-Id: Ib56c2edf4f37eaf90b442e0e2c4342046fe839c1
      (cherry picked from commit 581aa2ea)
      4a90936e
  4. 17 Feb, 2016 4 commits
  5. 16 Feb, 2016 3 commits
  6. 13 Feb, 2016 1 commit
    • James Lemieux's avatar
      Do not assume current stopwatch lap has positive duration · f8e562f6
      James Lemieux authored
      Bug: 27171498
      
      After a device reboot the realtime clock is reset. Because of this, the
      app is notified of the BOOT_COMPLETE and resets the stopwatch.
      There exists about a 10 second window of opportunity before the
      BOOT_COMPLETE broadcast in which the app may be opened and
      the realtime clock information may be used to compute stopwatch
      laptimes which would be negative. This case is now handled gracefully
      rather than crashing on a sanity check.
      
      Change-Id: I0eb4da0a9a55b5abc8d6abaa5a2e046821d39a2e
      f8e562f6
  7. 08 Feb, 2016 1 commit
  8. 04 Feb, 2016 1 commit
  9. 03 Feb, 2016 1 commit
  10. 02 Feb, 2016 8 commits
  11. 01 Feb, 2016 3 commits
  12. 21 Jan, 2016 3 commits
    • James Lemieux's avatar
      Fix snooze event tracking · e5cf47c1
      James Lemieux authored
      Change-Id: Ibc77f169c16e4bff109c8d213e607a500765b228
      e5cf47c1
    • James Lemieux's avatar
      Rebuild notifications after app upgrade · ac1506f1
      James Lemieux authored
      Bug: 26676584
      Change-Id: If6e905328265ad626ad9cc19b0ff6f128bdfe3a4
      ac1506f1
    • James Lemieux's avatar
      Fire timers as scheduled after app upgrade · a21a311d
      James Lemieux authored
      Bug: 26676588
      
      Timer refactoring has removed TimerReceiver, however, timers
      scheduled in 4.2.1 and prior use TimerReceiver as the entry point
      for expiring a timer. TimerReceiver must be kept in place for at
      least one release cycle in order to correctly fire legacy timers at
      their scheduled time.
      
      Change-Id: I0e3a751fce981fc22911d869f375b0cd40dde438
      a21a311d
  13. 20 Jan, 2016 1 commit
  14. 19 Jan, 2016 1 commit
    • James Lemieux's avatar
      Handle deleted timers gracefully · 41ad8d99
      James Lemieux authored
      Bug: 26591272
      
      Prior to dazzle, timers could inhabit a state of "DELETED" (value = 5).
      In dazzle and beyond there is no reason to preserve such a state, but
      it is possible for timers to exist in SharedPreferences in such a state,
      so it must be handled gracefully.
      
      Change-Id: I1754ef898dfff84c0a3e807c4bd0dd1473f87aad
      41ad8d99
  15. 18 Jan, 2016 1 commit
  16. 14 Jan, 2016 1 commit
    • James Lemieux's avatar
      Fix alarm not firing in memory-pressure situations · b76aa50f
      James Lemieux authored
      Bug: 25846551
      
      The original form of the code that fires an alarm is:
      AlarmManager -> BroadcastReceiver -> Service.
      
      The new form of the code that fires an alarm is:
      AlarmManager -> Service.
      
      Evidence exists that the system lowmemorykiller may elect to kill the
      clock app after BroadcastReceiver.onReceive(...) completes but before
      Service.onStartCommand(...) begins. When this occurs, the results are
      disastrous as the clock fails to fire at the appropriate time.
      
      To remove this possibility, all alarm state changes are delivered to the
      Service. The methods that manipulate database state within
      BroadcastReceiver have been made public and static and are called
      directly from the Service to perform the same work as before. If the
      alarm state transition is to the FIRING state, the AlarmService also
      performs the work of posting the firing notification in the foreground.
      All of this occurs during the handling of a single Intent on the same
      thread within the service which should no longer provide
      lowmemorykiller with any opportunities to prevent the firing of an alarm
      by killing the clock app.
      
      Change-Id: I3629a5b725a758f680f41611939a5bbeec23238a
      b76aa50f
  17. 12 Jan, 2016 1 commit
  18. 18 Dec, 2015 1 commit
  19. 16 Dec, 2015 1 commit
  20. 15 Dec, 2015 2 commits
  21. 14 Dec, 2015 1 commit
  22. 10 Dec, 2015 1 commit