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

Commit 3691b22d authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Android (Google) Code Review
Browse files

Merge "Catch exceptions thrown by TelephonyManager" into udc-dev

parents d10dc902 ef9de790
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -862,9 +862,12 @@ public final class TelephonyPermissions {
                        + " destAddr is emergency number");
                return true;
            }
        } catch(Exception e) {
            Log.e(LOG_TAG, "Cannot verify if destAddr is an emergency number: " + e);
        } finally {
            Binder.restoreCallingIdentity(token);
        }

        return checkSubscriptionAssociatedWithUser(context, subId, callerUserHandle);
    }