diff options
author | John Huang <jsh@google.com> | 2011-08-25 15:56:55 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-25 15:56:55 -0700 |
commit | f60ac6307e07b409faea9f2506aa8c7162d11a4f (patch) | |
tree | 520d2f0a34be684414b48a94c8e57655063c63e9 /services | |
parent | 7b0e5af540089007b2b6fb2d982d33d5ef9fb2b6 (diff) | |
parent | e6fa120275d9f6715783cf608b4fed742fd7161b (diff) | |
download | frameworks_base-f60ac6307e07b409faea9f2506aa8c7162d11a4f.zip frameworks_base-f60ac6307e07b409faea9f2506aa8c7162d11a4f.tar.gz frameworks_base-f60ac6307e07b409faea9f2506aa8c7162d11a4f.tar.bz2 |
Merge "Notify overall state instead of current changed state"
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/TelephonyRegistry.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/services/java/com/android/server/TelephonyRegistry.java b/services/java/com/android/server/TelephonyRegistry.java index dd54c16..4447ad0 100644 --- a/services/java/com/android/server/TelephonyRegistry.java +++ b/services/java/com/android/server/TelephonyRegistry.java @@ -421,11 +421,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); } |