Fix usage hint of ringtone vibration preview
Bug: 130332550 Test: Go to Settings > Accessibility > Vibration > Notification vibration, set it to off. Go to Settings > Accessibility > Vibration > Ring vibration, and switch it a couple times. The preview effect should be played Change-Id: Ida4f04bb92873120c0f958d298ec31c8fb5dab97
This commit is contained in:
@@ -51,7 +51,7 @@ public class RingVibrationPreferenceFragment extends VibrationPreferenceFragment
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getPreviewVibrationAudioAttributesUsage() {
|
protected int getPreviewVibrationAudioAttributesUsage() {
|
||||||
return AudioAttributes.USAGE_NOTIFICATION;
|
return AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user