mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
auto import from //branches/cupcake/...@131421
This commit is contained in:
@@ -178,10 +178,13 @@ class LiveFolderAdapter extends CursorAdapter {
|
||||
}
|
||||
mCustomIcons.clear();
|
||||
|
||||
try {
|
||||
getCursor().close();
|
||||
} finally {
|
||||
mLauncher.stopManagingCursor(getCursor());
|
||||
final Cursor cursor = getCursor();
|
||||
if (cursor != null) {
|
||||
try {
|
||||
cursor.close();
|
||||
} finally {
|
||||
mLauncher.stopManagingCursor(cursor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user