summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-05-29 14:05:41 +0900
committerLorenzo Colitti <lorenzo@google.com>2014-05-29 19:19:54 +0900
commit51ed158a946f3a908b691389296dbb0136bc1c9c (patch)
tree2267dec4e0c517b707556ce02de1502349e23644 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbc132a068b47994dc3f8e3c75c963f4676c2e970 (diff)
Don't break things if a network goes back to CONNECTED.
Currently, if a network goes from CONNECTED to some other "live" state (e.g., CONNECTING, because it's VERIFYING_POOR_LINK) and back, ConnectivityService treats it as if a new network had connected. This causes it to attempt to create the network (which fails, since a network with that netid already exists), to trigger verification, and if the verification succeeds, to tear down the network because the request it's satisfying is already satisfied by the network itself. Instead, if creating the network fails, assume it's because the network had already been created, and bail out. Also, when validation completes, ignore NetworkRequests that were being served by the same NetworkAgent as before. Bug: 15244052 Change-Id: Ifd73558e5be452d9ef88c64cca429d5f302bf354
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions