Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb062c63 authored by Tony Wickham's avatar Tony Wickham
Browse files

Close some Cursors and call super.onFinishInflate().

Android Studio gave these warnings, and they seem like good ideas.

Change-Id: I9a4d3997fd18e86e007e4511e1ac9e8a75509265
parent a8709ddb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
    }
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }