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

Commit 90f7ae02 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

am: cf04c2fd

Change-Id: I414ef9d9e54cb4c3c9ed4f57da48938178c8893e
parents ccdb9f28 cf04c2fd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -952,6 +952,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
@@ -968,6 +972,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) {