X6833B: overlay: Update multiple vibration strength levels overlay for 13

Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
Michael Bestas 2023-07-22 15:13:18 +01:00 committed by dodyirawan85
parent 293f807ece
commit c8857ab71d

View file

@ -27,9 +27,19 @@
<!-- Whether to show peak refresh rate in display settings --> <!-- Whether to show peak refresh rate in display settings -->
<bool name="config_show_peak_refresh_rate_switch">true</bool> <bool name="config_show_peak_refresh_rate_switch">true</bool>
<!-- Whether or not the device is capable of multiple levels of vibration intensity. <!-- The number of vibration intensity levels supported by the device.
Note that this is different from whether it can control the vibration amplitude as some Note that this should correspond to the ability to vary the vibration amplitude, with
devices will be able to vary their amplitude but do not possess enough dynamic range to enough dynamic range to have at least as many distinct intensity levels as defined here.
have distinct intensity levels --> Supported values are 1, 2, 3. If '1', the settings app will use a toggle for the settings,
<bool name="config_vibration_supports_multiple_intensities">true</bool> otherwise a slider. If '3', the settings app maps intensities directly to the levels
supported by the Vibrator HAL APIs. If '2', then the levels will be mapped to
VIBRATION_INTENSITY_LOW and VIBRATION_INTENSITY_HIGH, which gives the most range for
scaling vibrations. The medium intensity will be skipped.
The default intensity values are configured at
frameworks/base/core/res/res/values/config.xml's config_default[type]VibrationIntensity.
Make sure that each default intensity value is consistent with the supported levels set
here. If this settings supports only 2 levels, for example, then the default intensity
should be either LOW (1) or HIGH (3).
-->
<integer name="config_vibration_supported_intensity_levels">3</integer>
</resources> </resources>