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

Skip to content
Commit 0782f3ea authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Drop caches of apks-in-apex if APEX was updated

When an APEX is updated, we need to drop the cache for the apks that
belong to it. This change does that by making use of the new
updatedDuringThisBoot field in ActiveApexInfo.

With this change the apk-in-apex cache problem is almost solved, the
only remaining piece is to clean up the stale cache entries after the
APEX update has completed. It will be done in a separate cl.

Bug: 225435110
Test: manual
Test: stage mediaprovider APEX
Test: crash system_server
Test: reboot device
Test: check MediaProvider apk inside was updated
Change-Id: I080e9e21370fd9c44d4a45b3fe61d127066123d8
Merged-In: I080e9e21370fd9c44d4a45b3fe61d127066123d8
parent 6bcc34ca
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