diff options
| author | 2019-01-29 13:58:52 -0500 | |
|---|---|---|
| committer | 2019-06-06 15:43:23 -0400 | |
| commit | ba666f8f5448d30cac6b183cefabaa1a6f07c8e3 (patch) | |
| tree | 67b33220bada8c4ebff7873a47589bbcd6e96de9 /libs/androidfw/DisplayEventDispatcher.cpp | |
| parent | 57854d3b902b72bd61ab7041097a9492e841e66b (diff) | |
Dramatically simplify NotificationRankingUpdate.
It is now simply a container for a parceled RankingMap,
which can be unparceled entirely into objects in the
listener's heap and discarded. Notification key strings are
interned (by reference into the Ranking data structure).
This should save a considerable amount of RAM:
- parceled Bundles hanging around in the listener process,
waiting to be unparceled, never freed
- a dozen copies of the notification key string
Bug: 133763354
Test: atest NotificationManagerServiceTest NotificationListenerServiceTest NotificationDataTest
Test: coretests, cts, etc.
Change-Id: I5d8ab5c8f27c70f4af7051b24608ba0d1f2dd5cd
Diffstat (limited to 'libs/androidfw/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions