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

Commit a1b6f71b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Skip post install app data preparation for /data/preloads"

parents 1bdc9efa 7b0b9a5e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4641,6 +4641,11 @@ class StorageManagerService extends IStorageManager.Stub
            // make sure the OBB dir for the application is setup correctly, if it exists.
            File[] packageObbDirs = userEnv.buildExternalStorageAppObbDirs(packageName);
            for (File packageObbDir : packageObbDirs) {
                if (packageObbDir.getPath().startsWith(
                                Environment.getDataPreloadsMediaDirectory().getPath())) {
                    Slog.i(TAG, "Skipping app data preparation for " + packageObbDir);
                    continue;
                }
                try {
                    mVold.fixupAppDir(packageObbDir.getCanonicalPath() + "/", uid);
                } catch (IOException e) {