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

Commit 4c2009c2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make TelephonyManager#getEmergencyCallbackMode SystemApi"

parents 89f52d7a 8f573389
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4136,6 +4136,7 @@ package android.telephony {
    method public int getCurrentPhoneType(int);
    method public deprecated boolean getDataEnabled();
    method public deprecated boolean getDataEnabled(int);
    method public boolean getEmergencyCallbackMode();
    method public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms();
    method public android.os.Bundle getVisualVoicemailSettings();
    method public boolean handlePinMmi(java.lang.String);
+2 −0
Original line number Diff line number Diff line
@@ -6867,6 +6867,8 @@ public class TelephonyManager {
     * @return true if phone is in emergency callback mode
     * @hide
     */
    @SystemApi
    @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
    public boolean getEmergencyCallbackMode() {
        return getEmergencyCallbackMode(getSubId());
    }