Fixed closed cursor access exception on Android 4.x
platforms
This commit is contained in:
parent
9552c6fea5
commit
4534a02874
BIN
SWADroid.apk
BIN
SWADroid.apk
Binary file not shown.
|
@ -116,6 +116,7 @@ public class Notifications extends Module {
|
|||
*/
|
||||
private void refreshScreen() {
|
||||
//Refresh data on screen
|
||||
stopManagingCursor(dbCursor);
|
||||
dbCursor = dbHelper.getDb().getCursor(Global.DB_TABLE_NOTIFICATIONS, selection, orderby);
|
||||
startManagingCursor(dbCursor);
|
||||
adapter.changeCursor(dbCursor);
|
||||
|
|
Loading…
Reference in New Issue
Block a user