Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8f29c12d authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

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
parent 3ac71b60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment