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

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

Merge "Invoke Both onDataConnectionStateChanged Methods"

am: 1699bb7d

Change-Id: Ia2c3aed7f6a73405bc20c1886d24d61617cc5689
parents 031abe22 1699bb7d
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) {