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

am: 1a82d653f7

Change-Id: Id403a259ae8302ca9b2ec82710f719f11f54c4b9
This commit is contained in:
Alexey Kuzmin
2019-05-17 07:15:50 -07:00
committed by android-build-merger

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();
}
}