Skip to content

Commit 5f07406

Browse files
Amith YamasaniAndroid Git Automerger
authored andcommitted
am 712a8cc: Merge "VolumePreference.onActivityStop only stops playback"
* commit '712a8cca1f9e438af224f93c3a4644853331af2e': VolumePreference.onActivityStop only stops playback
2 parents 44874c2 + 712a8cc commit 5f07406

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/java/android/preference/VolumePreference.java

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

111111
public void onActivityStop() {
112-
cleanup();
112+
if (mSeekBarVolumizer != null) {
113+
mSeekBarVolumizer.stopSample();
114+
}
113115
}
114116

115117
/**

0 commit comments

Comments
 (0)