This commit is contained in:
Andrew Rabert 2017-03-05 11:40:26 -05:00
parent 9fd800acb8
commit a1f5a60b8f
2 changed files with 5 additions and 0 deletions

View File

@ -186,6 +186,7 @@ public class SongDBHandler extends SQLiteOpenHelper {
return null;
}
finally {
cursor.close();
db.close();
}
}
@ -230,6 +231,7 @@ public class SongDBHandler extends SQLiteOpenHelper {
return null;
}
finally {
cursor.close();
db.close();
}
}
@ -246,6 +248,7 @@ public class SongDBHandler extends SQLiteOpenHelper {
return null;
}
finally {
cursor.close();
db.close();
}
}

View File

@ -71,6 +71,8 @@ public class SeekBarPreference extends DialogPreference implements SeekBar.OnSee
if(mDisplay == null) {
mDisplay = "%.0f";
}
a.recycle();
}
@Override