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

Commit 542e4e6b authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Add old APIs as overloaded methods"

parents cbe33053 81357ffc
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) {