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
Loading
Please register or sign in to comment