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

Skip to content
Commit 04c5f382 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Handle "uninstall updates" in app-ops-service

When "uninstalling the updates" of a system app the package manager
triggers a ACTION_UID_REMOVED with EXTRA_REPLACING=true. In this case we
want to reset the app-op state, but the app has to still work
afterwards as the UID is not actually removed.

Removing all the state for the UID is not the right behavior
as this does not trigger a re-evualtion of app-op state for this app.

Test: Uninstalled updates for pre-installed Google Photos app and saw
storage related app-ops to be set correctly afterwards
Bug: 140731248

Change-Id: I235dbab877ce4377232799d5d0555ff7d2722ebb
parent 643e29bd
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