Merge "[am] catch IllegalArgumentException from getHarmfulAppWarning" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
73784f47ca
@@ -424,7 +424,7 @@ class ActivityStartInterceptor {
|
|||||||
try {
|
try {
|
||||||
harmfulAppWarning = mService.getPackageManager()
|
harmfulAppWarning = mService.getPackageManager()
|
||||||
.getHarmfulAppWarning(mAInfo.packageName, mUserId);
|
.getHarmfulAppWarning(mAInfo.packageName, mUserId);
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException | IllegalArgumentException ex) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user