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

Skip to content
Commit 3f6b60aa authored by Joanne Chung's avatar Joanne Chung
Browse files

Fix pacakge remove callback doesn't be called

In package remove case, it passes null user id list, the helper
will use mActivityManager to get running users. It looks like
cached mActivityManager is empty so the callback is ignore here.

Maybe the helper initalizes too early, try to get it and cache it
again, only skip if we cannot get it.

Bug: 302121110
Test: manual. Make sure the issue registered clients callback
be called
Test: atest PackageMonitorCallbackHelperTest
Change-Id: I4745f0436190162e8c45a09714fd016e8689aa79

Change-Id: Ib276eadf53b43e2e63c96717cee3c4b9a0a59d5c
parent 3526aabf
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