Merge "notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState." into qt-dev
am: 1de175914b
Change-Id: Ic4bada7b04e636b9b8de42787052048d29d350a1
This commit is contained in:
@@ -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) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user