Loading telephony/java/android/telephony/PhoneStateListener.java +5 −3 Original line number Original line Diff line number Diff line Loading @@ -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) { Loading Loading
telephony/java/android/telephony/PhoneStateListener.java +5 −3 Original line number Original line Diff line number Diff line Loading @@ -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) { Loading