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

Commit 317046a0 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix an NPE in PackageManager when getting the AppInfo for an app

Bug: 7072043
Change-Id: I37378b13820152434e7b3249e13c27001fe4ae5a
parent c479b55a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1818,7 +1818,7 @@ public class PackageManagerService extends IPackageManager.Stub {
                pkg.applicationInfo.publicSourceDir = ps.resourcePathString;
                pkg.applicationInfo.sourceDir = ps.codePathString;
                pkg.applicationInfo.dataDir =
                        getDataPathForPackage(ps.pkg.packageName, 0).getPath();
                        getDataPathForPackage(packageName, 0).getPath();
                pkg.applicationInfo.nativeLibraryDir = ps.nativeLibraryPathString;
            }
            // pkg.mSetEnabled = ps.getEnabled(userId);