Merge "Play vibration preview when turning on vibration" into qt-dev
am: 1a82d653f7
Change-Id: I7a1d856cdede78d708ecc9601832a0d86bf42e20
This commit is contained in:
@@ -128,6 +128,8 @@ public abstract class VibrationPreferenceFragment extends RadioButtonPickerFragm
|
|||||||
// Update vibration intensity setting
|
// Update vibration intensity setting
|
||||||
Settings.System.putInt(getContext().getContentResolver(),
|
Settings.System.putInt(getContext().getContentResolver(),
|
||||||
getVibrationIntensitySetting(), candidate.getIntensity());
|
getVibrationIntensitySetting(), candidate.getIntensity());
|
||||||
|
} else {
|
||||||
|
playVibrationPreview();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user