Merge "notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState."

This commit is contained in:
Treehugger Robot
2019-06-10 06:04:15 +00:00
committed by Gerrit Code Review

View File

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