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()) {
if (remove_status_icon) {
mIsSupposedToBePlaying = false;
}
+
}
/**