diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-08-27 20:21:58 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2019-08-28 10:10:04 +0900 |
commit | f9354793f965ac3bb006dbc12f5c867c7c51f39a (patch) | |
tree | 3136c892b8d2637806aee54a8c8e5fa553edebda /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 764a90c200b232fbfcd7a5b3f56c82fea5baf21e (diff) |
Run callbacks on ConnectivityService thread
Run MultinetworkPolicyTracker and DataConnectionStats callbacks on the
ConnectivityService handler thread.
Previously the callbacks would be using the SystemServer foreground
thread (Looper.myLooper()), or the broadcast thread for the
MultinetworkPolicyTracker BroadcastReceiver. This is error-prone, can
cause threading issues and makes it difficult to test the components.
Test: atest FrameworksNetTests
Change-Id: I189213dd363004abed294659165bf5430d153bba
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions