-Added better player exception handling to player.
-Added expired media source cleaning to media source manager.
This commit is contained in:
parent
60a03199be
commit
2a806858ee
5 changed files with 65 additions and 51 deletions
|
|
@ -56,7 +56,8 @@ public final class BookmarkFragment
|
|||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
final AppDatabase database = NewPipeDatabase.getInstance(getContext());
|
||||
if (activity == null) return;
|
||||
final AppDatabase database = NewPipeDatabase.getInstance(activity);
|
||||
localPlaylistManager = new LocalPlaylistManager(database);
|
||||
remotePlaylistManager = new RemotePlaylistManager(database);
|
||||
disposables = new CompositeDisposable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue