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

Skip to content
Commit 5d3eb229 authored by lijilou's avatar lijilou Committed by Jilou li
Browse files

AppDataHelper:fix ArrayIndexOutOfBoundsException happen in fixAppsDataOnBoot...

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
parent 43420b33
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