Removed bus. Will be replaced by an intent system soon.
This commit is contained in:
parent
564ee7bdae
commit
b808491206
26 changed files with 14 additions and 382 deletions
|
|
@ -55,7 +55,7 @@ public class RecentlyPlayedStore extends SQLiteOpenHelper {
|
|||
onCreate(db);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@NonNull
|
||||
public static synchronized RecentlyPlayedStore getInstance(@NonNull final Context context) {
|
||||
if (sInstance == null) {
|
||||
sInstance = new RecentlyPlayedStore(context.getApplicationContext());
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ public class SongPlayCountStore extends SQLiteOpenHelper {
|
|||
* @param context The {@link Context} to use
|
||||
* @return A new instance of this class.
|
||||
*/
|
||||
@Nullable
|
||||
@NonNull
|
||||
public static synchronized SongPlayCountStore getInstance(@NonNull final Context context) {
|
||||
if (sInstance == null) {
|
||||
sInstance = new SongPlayCountStore(context.getApplicationContext());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue