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

Commit b6045cb8 authored by Jay Shrauner's avatar Jay Shrauner Committed by Android (Google) Code Review
Browse files

Merge "Catch SecurityExceptions" into mnc-dev

parents 1f9d5a09 6ce5d68a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4157,6 +4157,8 @@ public class TelephonyManager {
            }
        } catch (RemoteException e) {
            Log.e(TAG, "Error calling ITelephony#canChangeDtmfToneLength", e);
        } catch (SecurityException e) {
            Log.w(TAG, "Permission error calling ITelephony#canChangeDtmfToneLength", e);
        }
        return false;
    }