mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Close some Cursors and call super.onFinishInflate().
Android Studio gave these warnings, and they seem like good ideas. Change-Id: I9a4d3997fd18e86e007e4511e1ac9e8a75509265
This commit is contained in:
@@ -632,9 +632,9 @@ public class MigrateFromRestoreTask {
|
||||
mEntryToRemove.add(entry.id);
|
||||
continue;
|
||||
}
|
||||
|
||||
entries.add(entry);
|
||||
}
|
||||
c.close();
|
||||
return entries;
|
||||
}
|
||||
|
||||
@@ -655,7 +655,7 @@ public class MigrateFromRestoreTask {
|
||||
mEntryToRemove.add(c.getLong(0));
|
||||
}
|
||||
}
|
||||
|
||||
c.close();
|
||||
return total;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user