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

Commit 6ce5d68a authored by Jay Shrauner's avatar Jay Shrauner
Browse files

Catch SecurityExceptions

Bug:22208649
Change-Id: I608be28095a2d7ee0e3dd739ed899eaae55e700e
parent c58d1695
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;
    }