summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-01-30 16:55:55 -0800
committerDianne Hackborn <hackbod@google.com>2011-01-30 17:58:49 -0800
commit260c3c77d9b340164e055f87002c64d78da6e836 (patch)
tree194e78856f8c68d027b70161337fa9fd5a842bc8 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfba54f620ff155ede6de7d73f1b6a0003839b1c4 (diff)
Fix issue #3381489: IllegalStateException: attempt to re-open...
...an already-closed object: android.database.sqlite.SQLiteQuery It turns out there is a state we are missing -- the loader is still needed, but in the inactive list. In this case the loader needs to continue holding on to its current data, and not deliver any new data (which would result in it releasing its old data). This introduces the new state to Loader, and uses it in AsyncTaskLoader so all subclasses of that should get the new correct behavior. A further improvement would be to unregister CursorLoader's content listener when going in to this state, but that can wait for later. Change-Id: I6d30173b94f8e30b5be31d018accd328cc3388ec
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions