summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Suprabh Shukla <suprabh@google.com> 2023-05-08 14:40:59 -0700
committer Suprabh Shukla <suprabh@google.com> 2023-05-08 15:21:16 -0700
commitc22fb33347291512d081a833839c2a4d9a50c2d6 (patch)
treed1af3e3576062ebab21dd9dd2aa070636fe7522c /libs/androidfw/ObbFile.cpp
parent7c8d60cd6630f45b233de2729f1cf5a89870ce2b (diff)
Avoid redundant overwrite of value in TimeSparseArray
TimeSparseArray complains when a value for a given time is overwritten to warn of possible mistakes. WakingActivityHistory#recordActivity was overwriting the value for a given time by itself. Added unit tests to exercise this code path. Test: atest FrameworksServicesTests:WakingActivityHistoryTest Bug: 279599693 Change-Id: Icf95b8964981b891a83e461aee620071497b81f2
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions