Merge "Invoke Both onDataConnectionStateChanged Methods" am: 1699bb7d92 am: e4db115b37

am: d4d4ed769f

Change-Id: I9a33a31cc087b306bd12bb13d7f2d883bd8b6332
This commit is contained in:
Nathan Harold
2019-01-17 15:14:11 -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) {