summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-05-24 02:25:55 +0900
committerLorenzo Colitti <lorenzo@google.com>2014-05-28 07:35:24 +0000
commit9a6a11ae1edc9ee883022345c167eb4b4641402b (patch)
tree190fd6cd1d2574ab6c72b19615eeed6908169330 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent46038ae0207ba6f6a8e04bce7267da7af8767f29 (diff)
Support disconnecting while trying to connect.
Currently, once a NetworkAgent has decided to connect, there's no way to disconnect without first connecting and having ConnectivityService tear down the connection. This is suboptimal because it causes the transport to keep retrying even if it knows that it will not be able to connect. Instead, allow the transport to abort a connection request that's in progress, as long as the agent is not yet registered with ConnectivityService. Also add locking to evalScores. evalScores should already have been taking a lock, because it accesses member variables that are also accessed by the send*methods. Bug: 15295359 Change-Id: I913c341bdfc50be9c23b632399f53168e754c1c0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions