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:
Tony Wickham
2015-10-16 10:12:23 -07:00
parent a8709ddbbf
commit fb062c6335
2 changed files with 3 additions and 2 deletions

View File

@@ -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;
}