commit | 331a64d091d68ad59baad55e7c5f86d391a4fc54 | [log] [tgz] |
---|---|---|
author | Geoffrey Pitsch <gpitsch@google.com> | Tue Jan 17 14:00:47 2017 -0500 |
committer | Geoffrey Pitsch <gpitsch@google.com> | Mon Jan 23 12:37:03 2017 -0500 |
tree | de829a606b5de0c0718af976814c09e303a9d9b6 | |
parent | 8e8269fc11bbc8f212be67b19b7f5b4b16b1fa24 [diff] |
Fix cancel notification race condition bug. Cancel should always remove notifications, regardless of whether they've been posted internally. Primarily accomplished by ensuring all cancels happen on the same handler, and that they check the enqueued list as well the main notifications list. Also fixes snoozing for enqueued notifications, since it is implemented via cancelling. Test: runtest systemui-notification Change-Id: If8295a38102f245013d29831a060fabd80716e4b