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

Commit 04e0597c authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "PackageManager: fix app lib migration for device with /datadata" into mr1-staging

parents 16fb7476 96ec273e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4124,7 +4124,10 @@ public class PackageManagerService extends IPackageManager.Stub {
                         * Update native library dir if it starts with
                         * /data/data
                         */
                        if (nativeLibraryDir.getPath().startsWith(dataPathString)) {
                        // For devices using /datadata, dataPathString will point
                        // to /datadata while nativeLibraryDir will point to /data/data.
                        // Thus, compare to /data/data directly to avoid problems.
                        if (nativeLibraryDir.getPath().startsWith("/data/data")) {
                            setInternalAppNativeLibraryPath(pkg, pkgSetting);
                            nativeLibraryDir = new File(pkg.applicationInfo.nativeLibraryDir);
                        }