Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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);
                        }