Commit dec2319a authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Save MediaList on every update

parent d59f509b
......@@ -1317,6 +1317,7 @@ public class AudioService extends Service {
@Override
public void moveItem(int positionStart, int positionEnd) throws RemoteException {
mLibVLC.getMediaList().move(positionStart, positionEnd);
AudioService.this.saveMediaList();
}
@Override
......@@ -1328,6 +1329,7 @@ public class AudioService extends Service {
@Override
public void removeLocation(String location) {
mLibVLC.getMediaList().remove(location);
AudioService.this.saveMediaList();
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment