Commit 4f1ba475 authored by Sébastien Toque's avatar Sébastien Toque
Browse files

some missing updates in audio

parent 869ee549
...@@ -187,6 +187,7 @@ public class AudioPlayerActivity extends Activity implements AudioPlayer { ...@@ -187,6 +187,7 @@ public class AudioPlayerActivity extends Activity implements AudioPlayer {
public void onTimeLabelClick(View view) { public void onTimeLabelClick(View view) {
mShowRemainingTime = !mShowRemainingTime; mShowRemainingTime = !mShowRemainingTime;
update();
} }
public void onTextClick(View view) { public void onTextClick(View view) {
......
...@@ -288,6 +288,7 @@ public class AudioService extends Service { ...@@ -288,6 +288,7 @@ public class AudioService extends Service {
} }
} }
mLibVLC.readMedia(mCurrentMedia.getPath()); mLibVLC.readMedia(mCurrentMedia.getPath());
mHandler.sendEmptyMessage(SHOW_PROGRESS);
showNotification(); showNotification();
} }
...@@ -300,6 +301,7 @@ public class AudioService extends Service { ...@@ -300,6 +301,7 @@ public class AudioService extends Service {
else else
return; return;
mLibVLC.readMedia(mCurrentMedia.getPath()); mLibVLC.readMedia(mCurrentMedia.getPath());
mHandler.sendEmptyMessage(SHOW_PROGRESS);
showNotification(); showNotification();
} }
......
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