commit | 84e8f24147715f4fa1929228caa61b2e6b7a5061 | [log] [tgz] |
---|---|---|
author | John Wu <topjohnwu@google.com> | Thu Oct 21 11:50:41 2021 -0700 |
committer | John Wu <topjohnwu@google.com> | Thu Oct 21 11:50:41 2021 -0700 |
tree | 4f2ccb2056feb66317767cca2f525bf48fe30f6d | |
parent | a6ec70d679c28e260f6fca4d4b73ac42f5cafcd6 [diff] |
Support migrating app data to a new appId Add logic in installd to recursively chown an app's internal data and profile directory to its new appId. In the case of an app upgrade and the user profile is unlocked, the previous appId is passed over to verify and only chown files that the app owns. Bug: 179284822 Test: to be included with CL in framework/base Change-Id: I11d9bed9fc8dc3179c4936001450b452ddce8a75