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

Commit df856978 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "null check before dereference" into oc-dev

parents 7fce5159 7833e7c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -19960,7 +19960,7 @@ public class PackageManagerService extends IPackageManager.Stub
        // Queue up an async operation since the package deletion may take a little while.
        // Queue up an async operation since the package deletion may take a little while.
        mHandler.post(new Runnable() {
        mHandler.post(new Runnable() {
            public void run() {
            public void run() {
                final PackageSetting ps = (PackageSetting) pkg.mExtras;
                final PackageSetting ps = pkg == null ? null : (PackageSetting) pkg.mExtras;
                boolean doClearData = true;
                boolean doClearData = true;
                if (ps != null) {
                if (ps != null) {
                    final boolean targetIsInstantApp =
                    final boolean targetIsInstantApp =