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

Commit 13eefb98 authored by Song Chun Fan's avatar Song Chun Fan Committed by Android (Google) Code Review
Browse files

Merge "[am] catch IllegalArgumentException from getHarmfulAppWarning"

parents 3b5a5f81 20e47471
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@ class ActivityStartInterceptor {
        try {
            harmfulAppWarning = mService.getPackageManager()
                    .getHarmfulAppWarning(mAInfo.packageName, mUserId);
        } catch (RemoteException ex) {
        } catch (RemoteException | IllegalArgumentException ex) {
            return false;
        }