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

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

Merge "DO NOT MERGE Do not check product unbundled from Q" into qt-dev

parents 1d0fe857 be955e81
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -781,16 +781,6 @@ public final class LoadedApk {
            isBundledApp = false;
        }

        // Similar to vendor apks, we should add /product/lib for apks from product partition
        // and not having /product/lib in the default search path
        final boolean treatProductApkAsUnbundled = !defaultSearchPaths.contains("/product/lib");
        if (mApplicationInfo.getCodePath() != null
                && mApplicationInfo.isProduct() && treatProductApkAsUnbundled
                // TODO(b/128557860): Change target SDK version when version code R is available.
                && getTargetSdkVersion() == Build.VERSION_CODES.CUR_DEVELOPMENT) {
            isBundledApp = false;
        }

        makePaths(mActivityThread, isBundledApp, mApplicationInfo, zipPaths, libPaths);

        String libraryPermittedPath = mDataDir;