summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2023-03-20 13:39:42 +0100
committer Matías Hernández <matiashe@google.com> 2023-03-20 13:52:12 +0100
commit4630b64cfe7d59a80b79af0c04a98d4d71c1dc86 (patch)
tree1a350cf4d948efa8f391ec22d9efe9ba8de21de6 /libs/androidfw/ObbFile.cpp
parent58197e4306ab8de6947de6c6215712723d2e96b3 (diff)
Ignore isInterruptive when sorting NotificationRecords
The existing behavior is: * New notifications are always interruptive. * Updated notifications are interruptive if and only if they change some subset of fields. * We put interruptive notifications before non-interruptive ones when sorting (before considering their "when" time). This leads to some unexpected behaviors, such as: NM.notify(1, notif1); NM.notify(2, notif2); NM.notify(2, notif2); placing notif1 before notif2, even though it's older and the third notify() call is a sorta-no-op. This CL creates a flag to remove this specific comparation criterion so we can evaluate the behavior. Bug: 204367726 Test: atest Change-Id: I07404f0894d5a0d5592b25d70e67c4b2857f8bcf
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions