commit | 1d599da8424cef8d07cb4c533bd212d992d8f676 | [log] [tgz] |
---|---|---|
author | Christoph Studer <chstuder@google.com> | Thu Jun 12 15:25:59 2014 +0200 |
committer | Christoph Studer <chstuder@google.com> | Thu Jul 10 21:37:56 2014 +0000 |
tree | 9c1656aacaf4210f8d6df0a2ee2a29d31c14fde4 | |
parent | 1c52d02679af9e4322d7182824443b006579b1ed [diff] |
NotificationListenerService API: Avoid unnecessary allocations Instead of producing Ranking objects, RankingMap just populates them now, allowing developers to re-use objects and avoid unnecessary allocations. Also rename isInterceptedByDnd() to meetsInterruptionFilter(), since DND is not a concept anymore. Bug: 15415840 Bug: 16099064 Change-Id: If9861cbdf14593e641a4d4ffd1b967647eb8e2b8