Skip to content

Commit 712a8cc

Browse files
Amith YamasaniAndroid Code Review
authored andcommitted
Merge "VolumePreference.onActivityStop only stops playback"
2 parents c962512 + a458868 commit 712a8cc

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)