[Android] Revert "Avoid a crash in AudioService"

Ludovic Fauvet git at videolan.org
Wed Jul 4 13:36:07 CEST 2012


android | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Jul  4 13:31:18 2012 +0200| [915a5fdc1041c16a50334f055b6bf0310d82b8ef] | committer: Ludovic Fauvet

Revert "Avoid a crash in AudioService"

This reverts commit 99ce9dbcd91daae35c2e1442f2d9535d34a23a5e.

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=915a5fdc1041c16a50334f055b6bf0310d82b8ef
---

 vlc-android/src/org/videolan/vlc/AudioService.java |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 2e94db6..a1f4226 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -316,9 +316,6 @@ public class AudioService extends Service {
     };
 
     private void showNotification() {
-        if (mCurrentMedia == null)
-            return;
-
         // add notification to status bar
         if (mNotification == null) {
             mNotification = new Notification(R.drawable.icon, null,



More information about the Android mailing list