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

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

Merge "Fix "TelephonyRegistry notifies wrong data status"" am: 3b2f2025 am:...

Merge "Fix "TelephonyRegistry notifies wrong data status"" am: 3b2f2025 am: ff3a7571 am: 5676ca89
am: 9823cc8d

* commit '9823cc8d':
  Fix "TelephonyRegistry notifies wrong data status"

Change-Id: Ib1b449103c46b6856ddb2ec575ee92123269c27e
parents 334779a4 9823cc8d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -985,7 +985,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) {