Merge "[am] catch IllegalArgumentException from getHarmfulAppWarning" into tm-qpr-dev

This commit is contained in:
Song Chun Fan
2022-10-28 14:21:58 +00:00
committed by Android (Google) Code Review

View File

@@ -424,7 +424,7 @@ class ActivityStartInterceptor {
try {
harmfulAppWarning = mService.getPackageManager()
.getHarmfulAppWarning(mAInfo.packageName, mUserId);
} catch (RemoteException ex) {
} catch (RemoteException | IllegalArgumentException ex) {
return false;
}