[Android] Remove dead code
Ludovic Fauvet
git at videolan.org
Mon Jun 25 15:43:14 CEST 2012
android | branch: master | Ludovic Fauvet <etix at videolan.org> | Mon Jun 25 15:13:01 2012 +0200| [b065a5a4a81b65a573fcbac2170303d5cd560956] | committer: Ludovic Fauvet
Remove dead code
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=b065a5a4a81b65a573fcbac2170303d5cd560956
---
.../src/org/videolan/vlc/gui/MainActivity.java | 30 --------------------
1 file changed, 30 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index c5ef1f9..c53e001 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -323,36 +323,6 @@ public class MainActivity extends SherlockFragmentActivity {
mMediaLibraryActive = true;
}
- /*@Override
- public boolean onContextItemSelected(MenuItem item) {
- switch (item.getItemId()) {
- case R.id.play_pause:
- if (mAudioController.isPlaying()) {
- mAudioController.pause();
- } else {
- mAudioController.play();
- }
- break;
- case R.id.show_player:
- Intent intent = new Intent(this, AudioPlayerActivity.class);
- startActivity(intent);
- break;
- case R.id.hide_mini_player:
- hideAudioPlayer();
- break;
- }
- return super.onContextItemSelected(item);
- }*/
-
- public void hideAudioPlayer() {
- mAudioPlayer.hide();
- mAudioController.stop();
- }
-
- public void showAudioPlayer() {
- mAudioPlayer.show();
- }
-
private void showInfoDialog() {
final Dialog infoDialog = new Dialog(this, R.style.info_dialog);
infoDialog.setContentView(R.layout.info_dialog);
More information about the Android
mailing list