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

Commit 450e082a authored by Shishir Agrawal's avatar Shishir Agrawal
Browse files

Undo changes caused by bad merge of I94eb65c62231b5831570bb0cbbbd9c916bee0a37

The change seems to have deleted some code that it should not have.

Bug: 18153840
Change-Id: Iaf338509f6bf88a8214b01d6bc4a220fe82b80d8
parent 481a66b5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -432,6 +432,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
                // Gsm doesn't support OTASP so its not needed
                mPhone.notifyOtaspChanged(OTASP_NOT_NEEDED);

                updatePhoneObject();
                updateSpnDisplay();
                break;

@@ -1038,6 +1039,10 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
        mReasonDataDenied = mNewReasonDataDenied;
        mMaxDataCalls = mNewMaxDataCalls;

        if (hasRilVoiceRadioTechnologyChanged) {
            updatePhoneObject();
        }

        if (hasRilDataRadioTechnologyChanged) {
            mPhone.setSystemProperty(TelephonyProperties.PROPERTY_DATA_NETWORK_TYPE,
                    ServiceState.rilRadioTechnologyToString(mSS.getRilVoiceRadioTechnology()));