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

Commit 88daefd4 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 379bb6ed: am ff27e6bc: Merge "Use canonical path for /vendor/app"

* commit '379bb6ed':
  Use canonical path for /vendor/app
parents cd4cf932 379bb6ed
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1307,6 +1307,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();