OSDN Git Service

theme engine fixes
[android-x86/packages-apps-Eleven.git] / src / com / android / music / MediaPlaybackService.java
index 17f2e68..67ec62b 100644 (file)
@@ -540,10 +540,6 @@ public class MediaPlaybackService extends Service implements
        public void onDestroy() {
                sensorMan.unregisterListener(this);
 
-               if (shaker != null)
-                       shaker.close();
-               shaker = null;
-
                // Check that we're not being destroyed while something is still
                // playing.
                if (isPlaying()) {
@@ -1654,6 +1650,7 @@ public class MediaPlaybackService extends Service implements
                if (remove_status_icon) {
                        mIsSupposedToBePlaying = false;
                }
+
        }
 
        /**