Skip to content

Commit 648dc03

Browse files
Amith YamasaniAndroid Git Automerger
authored andcommitted
am 4dbd1bc: am 5f07406: am 712a8cc: Merge "VolumePreference.onActivityStop only stops playback"
* commit '4dbd1bc6ae84cb4d0cd28922e917473ec6e53517': VolumePreference.onActivityStop only stops playback
2 parents 9903da8 + 4dbd1bc commit 648dc03

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

core/java/android/preference/VolumePreference.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ protected void onDialogClosed(boolean positiveResult) {
114114
}
115115

116116
public void onActivityStop() {
117-
cleanup();
117+
if (mSeekBarVolumizer != null) {
118+
mSeekBarVolumizer.stopSample();
119+
}
118120
}
119121

120122
/**

0 commit comments

Comments
 (0)