Skip to content
Snippets Groups Projects
Commit 90cfe5c3 authored by yoonsung.nam's avatar yoonsung.nam Committed by Android Git Automerger
Browse files

am 37f770f0: DO NOT MERGE: Notify overall state instead of current changed state

* commit '37f770f0':
  DO NOT MERGE: Notify overall state instead of current changed state
parents 52d51c42 37f770f0
No related branches found
No related tags found
No related merge requests found
......@@ -422,11 +422,13 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
modified = true;
}
if (modified) {
Slog.d(TAG, "onDataConnectionStateChanged(" + state + ", " + networkType + ")");
Slog.d(TAG, "onDataConnectionStateChanged(" + mDataConnectionState
+ ", " + mDataConnectionNetworkType + ")");
for (Record r : mRecords) {
if ((r.events & PhoneStateListener.LISTEN_DATA_CONNECTION_STATE) != 0) {
try {
r.callback.onDataConnectionStateChanged(state, networkType);
r.callback.onDataConnectionStateChanged(mDataConnectionState,
mDataConnectionNetworkType);
} catch (RemoteException ex) {
mRemoveList.add(r.binder);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment