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

Commit 379bb6ed authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

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

* commit 'ff27e6bc':
  Use canonical path for /vendor/app
parents 6691bfd6 ff27e6bc
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();