am aefd73d2: Merge "Try to avoid possible NPE" into jb-mr1-dev
* commit 'aefd73d2b9f17a06f05346f302db1e393a7ece19': Try to avoid possible NPE
This commit is contained in:
@@ -4110,7 +4110,7 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
}
|
||||
} else if (!isForwardLocked(pkg) && !isExternal(pkg)) {
|
||||
// Update native library dir if it starts with /data/data
|
||||
if (nativeLibraryDir.getParent().startsWith(dataPathString)) {
|
||||
if (nativeLibraryDir.getPath().startsWith(dataPathString)) {
|
||||
setInternalAppNativeLibraryPath(pkg, pkgSetting);
|
||||
nativeLibraryDir = new File(pkg.applicationInfo.nativeLibraryDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user