summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Julia Tuttle <juliatuttle@google.com> 2023-06-13 15:32:19 -0400
committer Julia Tuttle <juliatuttle@google.com> 2023-06-14 17:38:47 +0000
commit768a21ede47376c8382e73347e8eb3bb1de176fa (patch)
tree67c2f11c69a65921c92138e7f2891d4c390e6d4e /libs/androidfw/BackupData.cpp
parentcc3076a8518519be7bd543b62c59a5c8c09dc093 (diff)
Ignore implicit high priority for 'hide silent notifs on lockscreen'
Normally, HighPriorityProvider is willing to "promote" low priority notifications to high priority if they "have high priority characteristics" (are media/conversation/messaging and aren't *user* set as low priority). This is fine for ranking, but not fine for deciding which notifications to show on the lockscreen, so add a distinction between (potentially implicitly) high priority and *explicitly* high priority, and use *explicit* high priority when making lockscreen visibility decisions. Bug: 286278782 Test: atest HighPriorityProviderTest KeyguardNotificationVisibilityProviderTest Change-Id: I933d78eed841ded452de126919898e1dfb0d0e35
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions