Skip to content

Commit 90cfe5c

Browse files
yoonsung.namAndroid Git Automerger
authored andcommitted
am 37f770f: DO NOT MERGE: Notify overall state instead of current changed state
* commit '37f770f03f975982fbe7a1f133e03724bd3dc81a': DO NOT MERGE: Notify overall state instead of current changed state
2 parents 52d51c4 + 37f770f commit 90cfe5c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

services/java/com/android/server/TelephonyRegistry.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,13 @@ public void notifyDataConnection(int state, boolean isDataConnectivityPossible,
422422
modified = true;
423423
}
424424
if (modified) {
425-
Slog.d(TAG, "onDataConnectionStateChanged(" + state + ", " + networkType + ")");
425+
Slog.d(TAG, "onDataConnectionStateChanged(" + mDataConnectionState
426+
+ ", " + mDataConnectionNetworkType + ")");
426427
for (Record r : mRecords) {
427428
if ((r.events & PhoneStateListener.LISTEN_DATA_CONNECTION_STATE) != 0) {
428429
try {
429-
r.callback.onDataConnectionStateChanged(state, networkType);
430+
r.callback.onDataConnectionStateChanged(mDataConnectionState,
431+
mDataConnectionNetworkType);
430432
} catch (RemoteException ex) {
431433
mRemoveList.add(r.binder);
432434
}

0 commit comments

Comments
 (0)