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
Loading
Please register or sign in to comment