commit | ea19d32a9b6d7b3bb5f49e90d1b596cbaec49dc7 | [log] [tgz] |
---|---|---|
author | shawnlin <shawnlin@google.com> | Wed May 02 17:02:54 2018 +0800 |
committer | shawnlin <shawnlin@google.com> | Thu May 03 11:06:52 2018 +0800 |
tree | 3a70d4656a968d14504e3178063a7f99e9ad4e3c | |
parent | b9b0eaff9ceca697bd95eea690cc2167360caca2 [diff] |
Fix new notification showing timestamp "now" after turning off DND DateTimeView won't update timestamp until the view is attached to window and received TIME_TICK intent. Update timestamp on onAttachedToWindow(). Test: manual 1) turn on DND 2) send a notification and wait some time 3) turn off DND and check the timestamp Fixes: 77970557 Change-Id: Ia8420aacf5b91b0bb9cbec561629ddbfc8de4f67