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

Commit fdb68fbf authored by Jeongeun Song's avatar Jeongeun Song Committed by Patrick Baumann
Browse files

Fix an issue LauncherApps couldn’t get onPackageRemoved Callback

The system apps which registered listener in LauncherApps couldn't get
ACTION_PACKAGE_REMOVED_INTERNAL broadcast because they are not in
allowlist of package visibility. They must see all applications so
modify the code if the appId is smaller than 10000 it should be always
allowed.

Bug: 196910947
Test: Register a listener of a system app to LauncherAppsService and
      verify if can get the broadcast.
Change-Id: I39f4365cfa09ffa9afeccd13a8703846db357cbf
parent f9a3f5cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment