summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorDmitri Plotnikov <dplotnikov@google.com>2010-03-24 10:20:46 -0700
committerDmitri Plotnikov <dplotnikov@google.com>2010-03-24 13:35:03 -0700
commit8f29c12d6ebfa3ed36e81573448fcbc49a98f514 (patch)
treedf3454f55ef499ada1f6af70f27a7425129589e7 /libs/rs/rsg_ScriptJavaClass.cpp
parent3ac71b605b9a8fb7432bf98926cb0b3d5551e577 (diff)
Forcing query execution in SQLiteDatabase.query
The issue is that our code often "executes" a query on a background thread but iterates over the cursor on the UI thread. Since we actually do the fetch on moveToFirst or moveToNext, the query is in reality often run on the UI thread and causes an ANR. Change-Id: Ia561135e974a44ad3e3774ecb23c6a3d0fc38176
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions