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

Commit 77f28127 authored by Pooja Jain's avatar Pooja Jain
Browse files

IMS: Send voice service class by default

When call barring requests are sent from UI for query
and set operations, use voice service class by default
similar to other supplementary service operations.

Test: Manual
Bug: 120119683
Change-Id: I4b6de0cdcc7b1a771b0028b9d1651cd5fc3932de
parent 5dcca67d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1134,7 +1134,7 @@ public class ImsPhone extends ImsPhoneBase {
    }

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

    public void getCallBarring(String facility, Message onComplete, int serviceClass) {
@@ -1160,7 +1160,7 @@ 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);
                CommandsInterface.SERVICE_CLASS_VOICE);
    }

    @Override