Merge "auth: do not wtf on IllegalArgumentException" into sc-dev

This commit is contained in:
Muhammad Hasan Khan
2021-03-16 03:09:00 +00:00
committed by Android (Google) Code Review

View File

@@ -1076,7 +1076,7 @@ public class AccountManagerService
} catch (RuntimeException e) {
// The account manager only throws security exceptions, so let's
// log all others.
if (!(e instanceof SecurityException)) {
if (!(e instanceof SecurityException || e instanceof IllegalArgumentException)) {
Slog.wtf(TAG, "Account Manager Crash", e);
}
throw e;