Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 43d93da7 authored by guangkui.ren's avatar guangkui.ren Committed by Rubin Xu
Browse files

Fix potential crash issue in NonRequiredPackageDeleteObserver

mLatch.notifyAll() will not help wake the thread which is blocked by
mLatch.await, instead, it will cause system server crash.

So, mark state as failed if any package is failed to be deleted, and let
mLatch.countDown work until it comes to 0 and wake the thread blocked by
await.

Bug: 333845008
Change-Id: Ida1c3c128ddef376aaaacda1358717d0d4e9ca8b
parent 1a1f9bf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment