Merge "Fix missing null checking" into oc-mr1-dev
am: 93d436f4bc
Change-Id: Ib0a68cdf2d45141895191b7e2250ab0505c5a7ea
This commit is contained in:
@@ -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