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

Commit 62a23a7a authored by Youming Ye's avatar Youming Ye Committed by android-build-merger
Browse files

Merge "IMS: Send call barring request over IMS only if UT is enabled"

am: 910fa740

Change-Id: If7a51c8ec05060911391a7e8d4bb8a292957061c
parents 5a35940b 910fa740
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1869,9 +1869,7 @@ public class GsmCdmaPhone extends Phone {
            int serviceClass) {
        if (isPhoneTypeGsm()) {
            Phone imsPhone = mImsPhone;
            if ((imsPhone != null)
                    && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE)
                    || imsPhone.isUtEnabled())) {
            if ((imsPhone != null) && imsPhone.isUtEnabled()) {
                imsPhone.getCallBarring(facility, password, onComplete, serviceClass);
                return;
            }
@@ -1886,9 +1884,7 @@ public class GsmCdmaPhone extends Phone {
            Message onComplete, int serviceClass) {
        if (isPhoneTypeGsm()) {
            Phone imsPhone = mImsPhone;
            if ((imsPhone != null)
                    && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE)
                    || imsPhone.isUtEnabled())) {
            if ((imsPhone != null) && imsPhone.isUtEnabled()) {
                imsPhone.setCallBarring(facility, lockState, password, onComplete, serviceClass);
                return;
            }