From 1b3134c5140a87ea8242989b73a470d901a8913b Mon Sep 17 00:00:00 2001 From: SongFerngWang Date: Tue, 9 Apr 2019 17:29:29 +0800 Subject: [PATCH] notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState. notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState. Bug: 128510330 Test: build pass Change-Id: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92 --- .../core/java/com/android/server/TelephonyRegistry.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/core/java/com/android/server/TelephonyRegistry.java b/services/core/java/com/android/server/TelephonyRegistry.java index c647e2ed824f9..ac584e9571fc2 100644 --- a/services/core/java/com/android/server/TelephonyRegistry.java +++ b/services/core/java/com/android/server/TelephonyRegistry.java @@ -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) &&