Skip to content
Commit 9f7587d1 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

NotificationEntry logging improvements

* Pass the NotificationEntry to Loggers, rather than the SBN or key
* Use the logKey methods to ensure that notification keys with newlines are cleaned up
* This allows engineers to set NotificationUtils.INCLUDE_HASH_CODE_IN_LIST_ENTRY_LOG_KEY=true and detect instance changes from logs.

Bug: 224598080
Bug: 231337045
Bug: 236140753
Test: atest ShadeListBuilderTest NotifCollectionTest HeadsUpViewBinderTest HeadsUpManagerTest
Test: dumpsysui NotifLog NotifHeadsUpLog
Change-Id: I9324c50ffb3384e15c52d85bfe25afd637edd100
parent ecb49e9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment