Merge "Invoke Both onDataConnectionStateChanged Methods"
am: 1699bb7d92
Change-Id: Ia2c3aed7f6a73405bc20c1886d24d61617cc5689
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user