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

Commit f53296a9 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Add old APIs as overloaded methods"

am: 542e4e6b

Change-Id: Ifb50ba9de7ab8aa2ce24ae35215d60c6a0461ee4
parents 74250c9c 542e4e6b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -951,6 +951,10 @@ public class ImsPhone extends ImsPhoneBase {
        return 0;
    }

    public void getCallBarring(String facility, Message onComplete) {
        getCallBarring(facility, onComplete, CommandsInterface.SERVICE_CLASS_NONE);
    }

    public void getCallBarring(String facility, Message onComplete, int serviceClass) {
        if (DBG) {
            Rlog.d(LOG_TAG, "getCallBarring facility=" + facility
@@ -967,6 +971,12 @@ public class ImsPhone extends ImsPhoneBase {
        }
    }

    public void setCallBarring(String facility, boolean lockState, String password,
            Message onComplete) {
        setCallBarring(facility, lockState, password, onComplete,
                CommandsInterface.SERVICE_CLASS_NONE);
    }

    public void setCallBarring(String facility, boolean lockState, String password,
            Message onComplete,  int serviceClass) {
        if (DBG) {