Add null check on ApplicationInfo.
Bug: 277187196 Test: tree hugger. Change-Id: Ic208abb442535d01c946ce7f49022483f126279c
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user