diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2014-08-24 22:52:10 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2014-08-25 15:42:10 -0700 |
commit | 4456cf3ff0aa5fbd4a9a08c0987360b61fd38fa8 (patch) | |
tree | 52883c7eb72ac2e34f06ec8d8dfc440259e03b50 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ac0d62a1181bde3724f9a794cc4a96b2a4a90587 (diff) |
Remove listen requests properly.
https://googleplex-android-review.googlesource.com/#/c/527772/
correctly stopped adding listen requests to the mNetworkForRequestId
sparse array, but when we remove requests, if it's not getting
serviced by a network, we don't remove it from the network. That
means that when we go to send a notification for that network we have
a request affiliated with the network, but don't have data for the
request and hit this NPE.
If it's not a request, don't do the optimization and remove it only
from the network servicing the request, but instead scan all networks
and remove it from each, if found.
bug:17239054
Change-Id: I49165ed08c224ef20f703469f9ce39df5f21b163
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions