Removes SmartActions from Rankings before marshal
To allow us to put RankingMap in ashmem when NotificationRankingUpdates
are sent to NotificationListeners, we move the SmartActions that
may be contained in each Ranking object into a separate list, Parcel
them and send them across binder normally, and store the rest of the
RankingMap in ashmem. Then, when we unparcel the
NotificationRankingUpdate, we re-merge the Actions into the RankingMap.
Bug: 249848655
Test: Unit tests, CTS test (see bug); manual flash + repro script
Change-Id: I62a1de307168612d30b55d94765b2a329914b7f4
3 files changed