Skip to content

Commit 694121c

Browse files
Amith YamasaniAndroid (Google) Code Review
authored andcommitted
Merge "Fix an NPE in PackageManager when getting the AppInfo for an app" into jb-mr1-dev
2 parents c452a40 + 317046a commit 694121c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/pm/PackageManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@ private PackageInfo generatePackageInfoFromSettingsLPw(String packageName, int f
18181818
pkg.applicationInfo.publicSourceDir = ps.resourcePathString;
18191819
pkg.applicationInfo.sourceDir = ps.codePathString;
18201820
pkg.applicationInfo.dataDir =
1821-
getDataPathForPackage(ps.pkg.packageName, 0).getPath();
1821+
getDataPathForPackage(packageName, 0).getPath();
18221822
pkg.applicationInfo.nativeLibraryDir = ps.nativeLibraryPathString;
18231823
}
18241824
// pkg.mSetEnabled = ps.getEnabled(userId);

0 commit comments

Comments
 (0)