summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-09-20 11:20:14 +0900
committerHugo Benichi <hugobenichi@google.com>2017-09-21 18:50:27 +0900
commitcd95278e55bd0e4935f42214d964f8c6aa52b4ea (patch)
treeb538c4663ccf1c8e5297ff45df49158052ceb951 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent376234fc749eba753576d26d8ab18b0c531a2d6a (diff)
Implement ConnectivityService TODO and fix many race conditions
This patch implements an outstanding TODO in ConnectivityService to add synchronization over the map of network request ids to network agent info objects. This structure is accessed from multiple threads: - Binder thread on public aidl methods, most notably via getDefaultNetwork(). - Internal handler. This leads to many race conditions that can crash the system server and reboot the phone if getDefaultNetwork() is called on a Binder thread to service a public ConnectivityManager api while the default network state is being updated on the internal handler after losing the default network. Bug: 65911184 Test: runtest frameworks-net Change-Id: I86c830ebd559e31d4576a7606705a056afb064ac
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions