Merge "Play vibration preview when turning on vibration" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-17 13:59:43 +00:00
committed by Android (Google) Code Review

View File

@@ -128,6 +128,8 @@ public abstract class VibrationPreferenceFragment extends RadioButtonPickerFragm
// Update vibration intensity setting
Settings.System.putInt(getContext().getContentResolver(),
getVibrationIntensitySetting(), candidate.getIntensity());
} else {
playVibrationPreview();
}
}