summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Aaron Liu <aaronjli@google.com> 2024-02-13 09:01:30 -0800
committer Aaron Liu <aaronjli@google.com> 2024-02-13 09:04:11 -0800
commitda388d69fe0bcbeed80d9020bf9eb6b897607e43 (patch)
treeb918b4686c6283232d124af0e503d69ea0466b15 /libs/androidfw/misc.cpp
parent9f074aa7c396ba0005df0a5997035f67233e44e1 (diff)
Ensure that disable is enqueued
We are getting a NPE trying to read an arraylist of callbacks while it is being modified in a different thread. This code path is the only one that uses "handleMessage" which directly invokes the message. We need to have this conform to the pattern to ensure that the list read/write is synchronized. Fixes: 324867208 Test: atest CommandQueueTest Test: adb stop start and observe that boot works properly. Flag: NONE Change-Id: Ie4f0450239223482463957050f385283cbd03f0c
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions