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

Skip to content
Commit c71ba54c authored by John Wu's avatar John Wu
Browse files

Migrate data when apps leave sharedUserId

Add logic in installd to recursively chown the apps' internal data and
profile directory to its new app ID. In the case of an app upgrade and
the user profile unlocked, the previous appId is also passed over to
verify and only chown files that the app owns.

Bug: 179284822
Test: atest SharedUserMigrationTest#testDataMigration
Change-Id: Iee42619801aef90ac1c7849ddcbd8c08e2314547
parent 8b0a6fa7
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