summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2024-08-09 02:34:25 +0000
committer Rupesh Bansal <brup@google.com> 2024-08-12 13:29:34 +0000
commit10cd45d2f650f2d7a0de8b6d7ac9372f1238a145 (patch)
tree6118bba7d68d971d6866134858d58257df3f97d0 /libs/androidfw/ObbFile.cpp
parent502cec5a8b4357ada8ad42053c48a736c51aa46b (diff)
Clone and pass worksource to the Notifier
This addresses the edge case scenario where multiple subsequent updates to the worksource of a wakelock can change the ordering of the values processed by the Notifier thread to update the BatteryStatsService. This could ultimately lead to cases where BatteryStatsService receives the wakelock stop notifications for uids whose start was never recorded. Bug: 354303438 Test: Manual Test: atest NotifierTest Flag: EXEMPT Bugfix Change-Id: I95b9fecdc67fc808d46c696edf958b9dbe9b49ef
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions