commit | 9373911d41c133fce80b8ecf6e688204f2c667e7 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Thu Aug 13 15:53:14 2015 -0700 |
committer | Jorim Jaggi <jjaggi@google.com> | Thu Aug 13 15:56:41 2015 -0700 |
tree | 3d1649d1d9d339361744432a32710ab12bebe9c0 | |
parent | ff9912d594bc5cdc10a4a224b9a2296bac50851b [diff] |
Update time when turning on screen, in addition to waking up When in ambient display mode, we didn't get a callback to onStartedWakingUp, thus the time was never refreshed. Since broadcasts are disabled in this low-power state, we need to refresh the clock manually before turning on the screen, because we can't rely on the broadcasts to be delivered. Bug: 23171638 Change-Id: I249f4195a14995f7c1467e73ac2aa400b871f80e