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

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

Merge "Add old APIs as overloaded methods" am: 542e4e6b

am: f53296a9

Change-Id: I3c5bdc83d9b2f2c66a79e9c9d4945895cb1b8f63
parents ec0c2c9c f53296a9
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) {