summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yining Liu <liuyining@google.com> 2025-02-14 14:05:37 -0800
committer Yining Liu <liuyining@google.com> 2025-02-21 14:16:04 -0800
commit409051c081a638dfd4950e4d14b057a9d6d1143a (patch)
tree95ab33cfa49022bfb8101ef7fa49e1c5b85497f0 /libs/androidfw/FileStream.cpp
parent2704560978650d42abb1222ec10fe7d8f4f374e9 (diff)
Fix forced auto-grouping mark notifications as unseen issue
The force auto-grouping will update the notifications in the NotifCollection, which makes such notifications unseen. There was an existing parameter, fromSystem, in onEntryUpdated() method, however, this parameter is not accurate enough for us to distinguish an update from the system server(eg. auto-grouping) and a real update from App, (because that is also made through system server). This change replaced the fromSystem parameter with a Enum class: UpdateSource, which distinguishes system server, app, and systemui updates. We are not going to mark an existing notification unseen again if it's updated by a source other than App. Fix: 391443182 Test: RemoteInputCoordinatorTest, BubblesTest Flag: com.android.server.notification.notification_minimalism Change-Id: I8d95dc6c3878465071c7ed2cb1de28d7a5d6ec43
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions