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

Commit 18b504f7 authored by Basudev Achary Konderpu's avatar Basudev Achary Konderpu Committed by Steve Kondik
Browse files

IMS: MMI Code COLR

1) Setting proper request for Activation and
   DeActivation.

Change-Id: I0d4f5e8f0bd88797d3d93996a53e5eebe4d39898
CRs-Fixed: 724499
parent adf3d305
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -917,14 +917,14 @@ public final class ImsPhoneMmiCode extends Handler implements MmiCode {
                // NOTE: Refer to the note above.
                // NOTE: Refer to the note above.
                if (isActivate()) {
                if (isActivate()) {
                    try {
                    try {
                        mPhone.mCT.getUtInterface().updateCOLR(NUM_PRESENTATION_ALLOWED,
                        mPhone.mCT.getUtInterface().updateCOLR(NUM_PRESENTATION_RESTRICTED,
                                obtainMessage(EVENT_SET_COMPLETE, this));
                                obtainMessage(EVENT_SET_COMPLETE, this));
                    } catch (ImsException e) {
                    } catch (ImsException e) {
                        Rlog.d(LOG_TAG, "Could not get UT handle for updateCOLR.");
                        Rlog.d(LOG_TAG, "Could not get UT handle for updateCOLR.");
                    }
                    }
                } else if (isDeactivate()) {
                } else if (isDeactivate()) {
                    try {
                    try {
                        mPhone.mCT.getUtInterface().updateCOLR(NUM_PRESENTATION_RESTRICTED,
                        mPhone.mCT.getUtInterface().updateCOLR(NUM_PRESENTATION_ALLOWED,
                                obtainMessage(EVENT_SET_COMPLETE, this));
                                obtainMessage(EVENT_SET_COMPLETE, this));
                    } catch (ImsException e) {
                    } catch (ImsException e) {
                        Rlog.d(LOG_TAG, "Could not get UT handle for updateCOLR.");
                        Rlog.d(LOG_TAG, "Could not get UT handle for updateCOLR.");