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

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

Merge "Invoke Both onDataConnectionStateChanged Methods" am: 1699bb7d

am: e4db115b

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


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


        public void onDataActivity(int direction) {
        public void onDataActivity(int direction) {