jaimbox / jumpnote

Automatically exported from code.google.com/p/jumpnote
0 stars 0 forks source link

NotesList performs Cursor query on main thread #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

NotesList should consider switching query to a background thread; otherwise 
managedQuery() will block the main thread.

        Cursor cursor = managedQuery(getIntent().getData(), PROJECTION,
                JumpNoteContract.Notes.PENDING_DELETE + " = 0", null,
                JumpNoteContract.Notes.DEFAULT_SORT_ORDER);

Original issue reported on code.google.com by Jeffrey.Sharkey on 20 Feb 2011 at 12:28