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

Commit 1b3134c5 authored by SongFerngWang's avatar SongFerngWang
Browse files

notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.

notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.

Bug: 128510330
Test: build pass
Change-Id: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
parent 5e2b995f
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -1304,12 +1304,12 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
            return;
            return;
        }
        }
        if (VDBG) {
        if (VDBG) {
            log("notifyUserMobileDataStateChangedForSubscriberPhoneID: subId=" + phoneId
            log("notifyUserMobileDataStateChangedForSubscriberPhoneID: PhoneId=" + phoneId
                    + " state=" + state);
                    + " subId=" + subId + " state=" + state);
        }
        }
        synchronized (mRecords) {
        synchronized (mRecords) {
            if (validatePhoneId(phoneId)) {
            if (validatePhoneId(phoneId)) {
                mMessageWaiting[phoneId] = state;
                mUserMobileDataState[phoneId] = state;
                for (Record r : mRecords) {
                for (Record r : mRecords) {
                    if (r.matchPhoneStateListenerEvent(
                    if (r.matchPhoneStateListenerEvent(
                            PhoneStateListener.LISTEN_USER_MOBILE_DATA_STATE) &&
                            PhoneStateListener.LISTEN_USER_MOBILE_DATA_STATE) &&