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

Commit 50a46aaa authored by Hui Yu's avatar Hui Yu
Browse files

Add null check on ApplicationInfo.

Bug: 277187196
Test: tree hugger.
Change-Id: Ic208abb442535d01c946ce7f49022483f126279c
parent 9d1c9281
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -577,7 +577,9 @@ class ProcessRecord implements WindowProcessListener {
        processName = _processName;
        sdkSandboxClientAppPackage = _sdkSandboxClientAppPackage;
        if (isSdkSandbox) {
            sdkSandboxClientAppVolumeUuid = getClientInfoForSdkSandbox().volumeUuid;
            final ApplicationInfo clientInfo = getClientInfoForSdkSandbox();
            sdkSandboxClientAppVolumeUuid = clientInfo != null
                    ? clientInfo.volumeUuid : null;
        } else {
            sdkSandboxClientAppVolumeUuid = null;
        }