Merge "notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState."

am: 74cdfecc5d

Change-Id: I42a294404ae715f998f3b0db90e79602629ef9dc
This commit is contained in:
SongFerngWang
2019-06-09 23:20:16 -07:00
committed by android-build-merger

View File

@@ -1315,12 +1315,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) &&