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

Commit ff27e6bc authored by Christopher Tate's avatar Christopher Tate Committed by Gerrit Code Review
Browse files

Merge "Use canonical path for /vendor/app"

parents cccae25f 41a17c2e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1301,6 +1301,11 @@ public class PackageManagerService extends IPackageManager.Stub {

            // Collect all vendor packages.
            File vendorAppDir = new File("/vendor/app");
            try {
                vendorAppDir = vendorAppDir.getCanonicalFile();
            } catch (IOException e) {
                // failed to look up canonical path, continue with original one
            }
            mVendorInstallObserver = new AppDirObserver(
                vendorAppDir.getPath(), OBSERVER_EVENTS, true, false);
            mVendorInstallObserver.startWatching();