Merge "Invoke Both onDataConnectionStateChanged Methods" am: 1699bb7d92

am: e4db115b37

Change-Id: If9a3fee2717f74f5c497ce3e5a7bd4585123e604
This commit is contained in:
Nathan Harold
2019-01-17 14:46:44 -08:00
committed by android-build-merger

View File

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