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

Commit ff3a7571 authored by xu.peng's avatar xu.peng Committed by android-build-merger
Browse files

Merge "Fix "TelephonyRegistry notifies wrong data status""

am: 3b2f2025

* commit '3b2f2025':
  Fix "TelephonyRegistry notifies wrong data status"

Change-Id: I2d9ecd7132c8028c79b008b737b4b7d6d87211b3
parents bc905021 3b2f2025
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1019,7 +1019,9 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
            if (validatePhoneId(phoneId)) {
                mDataActivity[phoneId] = state;
                for (Record r : mRecords) {
                    if (r.matchPhoneStateListenerEvent(PhoneStateListener.LISTEN_DATA_ACTIVITY)) {
                    // Notify by correct subId.
                    if (r.matchPhoneStateListenerEvent(PhoneStateListener.LISTEN_DATA_ACTIVITY) &&
                            idMatch(r.subId, subId, phoneId)) {
                        try {
                            r.callback.onDataActivity(state);
                        } catch (RemoteException ex) {