summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2011-08-11 12:46:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-08-11 12:46:25 -0700
commit4dbd1bc6ae84cb4d0cd28922e917473ec6e53517 (patch)
treef95735fb89d33b10eac238a5b5e0aa4d0327f087 /core
parente30af493a68391cc37891c56a5dd4fcfccffe9fc (diff)
parent5f07406717db34927f5095de3829b1e74ebd7c16 (diff)
downloadframeworks_base-4dbd1bc6ae84cb4d0cd28922e917473ec6e53517.zip
frameworks_base-4dbd1bc6ae84cb4d0cd28922e917473ec6e53517.tar.gz
frameworks_base-4dbd1bc6ae84cb4d0cd28922e917473ec6e53517.tar.bz2
am 5f074067: am 712a8cca: Merge "VolumePreference.onActivityStop only stops playback"
* commit '5f07406717db34927f5095de3829b1e74ebd7c16': VolumePreference.onActivityStop only stops playback
Diffstat (limited to 'core')
-rw-r--r--core/java/android/preference/VolumePreference.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/preference/VolumePreference.java b/core/java/android/preference/VolumePreference.java
index 970d520..0219fe8 100644
--- a/core/java/android/preference/VolumePreference.java
+++ b/core/java/android/preference/VolumePreference.java
@@ -109,7 +109,9 @@ public class VolumePreference extends SeekBarPreference implements
}
public void onActivityStop() {
- cleanup();
+ if (mSeekBarVolumizer != null) {
+ mSeekBarVolumizer.stopSample();
+ }
}
/**