diff options
| author | 2024-05-04 14:51:20 +0800 | |
|---|---|---|
| committer | 2024-05-09 03:20:12 +0000 | |
| commit | 5d3eb2295ba38055f4e03685fcbb6eee0fa032b2 (patch) | |
| tree | 49e2c840fd452c8c7869fdd27604ff91f7c7f790 /libs/androidfw/misc.cpp | |
| parent | 43420b33e466e530d403c0bbd582edad583f6e8e (diff) | |
AppDataHelper:fix ArrayIndexOutOfBoundsException happen in fixAppsDataOnBoot method due to forget add lock.
from the code:
@GuardedBy("mPm.mInstallLock")
void reconcileAppsDataLI(String volumeUuid, int userId, @StorageManager.StorageFlags int flags,
boolean migrateAppData) {
reconcileAppsDataLI(volumeUuid, userId, flags, migrateAppData, false /* onlyCoreApps */);
}
we should call the reconcileAppsDataLI method by mPm.mInstallLock.
Bug: 338600619
Change-Id: I05f8aa84d71d5083c27427e3a9957b456ac57ce4
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions