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

Commit 910fa740 authored by Youming Ye's avatar Youming Ye Committed by Gerrit Code Review
Browse files

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

parents fefe13e7 c6f01350
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;
            }