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

Commit 5cd9782f authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "Invoke Both onDataConnectionStateChanged Methods" am: 1699bb7d am: e4db115b

am: d4d4ed76

Change-Id: I9a33a31cc087b306bd12bb13d7f2d883bd8b6332
parents 283ec85c d4d4ed76
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -805,9 +805,11 @@ public class PhoneStateListener {
            PhoneStateListener psl = mPhoneStateListenerWeakRef.get();
            if (psl == null) return;

            Binder.withCleanCallingIdentity(
                    () -> mExecutor.execute(
                            () -> psl.onDataConnectionStateChanged(state, networkType)));
            Binder.withCleanCallingIdentity(() -> mExecutor.execute(
                    () -> {
                        psl.onDataConnectionStateChanged(state, networkType);
                        psl.onDataConnectionStateChanged(state);
                    }));
        }

        public void onDataActivity(int direction) {