notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.

notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.

Bug: 128510330
Test: build pass
Change-Id: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
This commit is contained in:
SongFerngWang
2019-04-09 17:29:29 +08:00
parent 5e2b995f4e
commit 1b3134c514

View File

@@ -1304,12 +1304,12 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
return;
}
if (VDBG) {
log("notifyUserMobileDataStateChangedForSubscriberPhoneID: subId=" + phoneId
+ " state=" + state);
log("notifyUserMobileDataStateChangedForSubscriberPhoneID: PhoneId=" + phoneId
+ " subId=" + subId + " state=" + state);
}
synchronized (mRecords) {
if (validatePhoneId(phoneId)) {
mMessageWaiting[phoneId] = state;
mUserMobileDataState[phoneId] = state;
for (Record r : mRecords) {
if (r.matchPhoneStateListenerEvent(
PhoneStateListener.LISTEN_USER_MOBILE_DATA_STATE) &&