am fb062c63: Close some Cursors and call super.onFinishInflate().

* commit 'fb062c63355f65e6df9e99cbf4cce49cee2900d1':
  Close some Cursors and call super.onFinishInflate().
This commit is contained in:
Tony Wickham
2015-10-16 17:17:46 +00:00
committed by Android Git Automerger
2 changed files with 3 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ public class PageIndicatorMarker extends FrameLayout {
}
protected void onFinishInflate() {
super.onFinishInflate();
mActiveMarker = (ImageView) findViewById(R.id.active);
mInactiveMarker = (ImageView) findViewById(R.id.inactive);
}

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