summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2019-01-29 13:58:52 -0500
committerDan Sandler <dsandler@android.com>2019-06-06 15:43:23 -0400
commitba666f8f5448d30cac6b183cefabaa1a6f07c8e3 (patch)
tree67b33220bada8c4ebff7873a47589bbcd6e96de9 /startop/scripts/lib/cmd_utils.py
parent57854d3b902b72bd61ab7041097a9492e841e66b (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 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions