commit | c5115556707d24dfbe6cbef8f3e9476b6c5e3021 | [log] [tgz] |
---|---|---|
author | Christoph Studer <chstuder@google.com> | Thu Jun 12 20:22:31 2014 +0200 |
committer | Christoph Studer <chstuder@google.com> | Sat Jun 14 20:45:54 2014 +0000 |
tree | 2f69a28b8af8e6bbff657414971ada9dfe020fd6 | |
parent | 8f4ac9e214a629d6ff1b1277c2d9ec880afe487c [diff] |
Prevent duplicate notifications Don't trust mNotificationData being sorted consistently at all times...which it actually should. But apparently isn't. Instead of using binary search to find the previous instance of the notification when it's updated, use a simple linear scan. Bug: 15589158 Change-Id: I7a09d0c64e35bd1930b8992d19da1393f4e4bb4e