Merge "Merge "Fix missing null checking" into oc-mr1-dev am: 93d436f4bc" into oc-mr1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
2089f92625
@@ -637,7 +637,9 @@ public final class LoadedApk {
|
||||
// as unbundled.
|
||||
final String defaultSearchPaths = System.getProperty("java.library.path");
|
||||
final boolean treatVendorApkAsUnbundled = !defaultSearchPaths.contains("/vendor/lib");
|
||||
if (mApplicationInfo.getCodePath().startsWith("/vendor/") && treatVendorApkAsUnbundled) {
|
||||
if (mApplicationInfo.getCodePath() != null
|
||||
&& mApplicationInfo.getCodePath().startsWith("/vendor/")
|
||||
&& treatVendorApkAsUnbundled) {
|
||||
isBundledApp = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user