Skip to content

Commit 4dbd1bc

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

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)