Merge "Invoke Both onDataConnectionStateChanged Methods" am: 1699bb7d92 am: e4db115b37
am: d4d4ed769f
Change-Id: I9a33a31cc087b306bd12bb13d7f2d883bd8b6332
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