Merge "Invoke Both onDataConnectionStateChanged Methods"

am: 1699bb7d92

Change-Id: Ia2c3aed7f6a73405bc20c1886d24d61617cc5689
This commit is contained in:
Nathan Harold
2019-01-17 14:35:19 -08:00
committed by android-build-merger

View File

@@ -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) {