VolumePreference.onActivityStop only stops playback

In VolumePreference.onActivityStop, the cleanup has
been replaced with only stopping ringtone playback
for the seekbar. This will avoid problems when switching
between applications that previously lead to inconsistencies
in the ring volume dialog.

Change-Id: Ia751fe0893610c4f5650eb07705481400642a84e
This commit is contained in:
Samuel Asteberg
2011-02-03 14:30:58 +01:00
committed by Johan Redestig
parent 8226140cca
commit a458868fd4

View File

@@ -109,7 +109,9 @@ public class VolumePreference extends SeekBarPreference implements
}
public void onActivityStop() {
cleanup();
if (mSeekBarVolumizer != null) {
mSeekBarVolumizer.stopSample();
}
}
/**