config.xml 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2024 The LineageOS Project
  4. SPDX-License-Identifier: Apache-2.0
  5. -->
  6. <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
  7. <!-- The number of vibration intensity levels supported by the device.
  8. Note that this should correspond to the ability to vary the vibration amplitude, with
  9. enough dynamic range to have at least as many distinct intensity levels as defined here.
  10. Supported values are 1, 2, 3. If '1', the settings app will use a toggle for the settings,
  11. otherwise a slider. If '3', the settings app maps intensities directly to the levels
  12. supported by the Vibrator HAL APIs. If '2', then the levels will be mapped to
  13. VIBRATION_INTENSITY_LOW and VIBRATION_INTENSITY_HIGH, which gives the most range for
  14. scaling vibrations. The medium intensity will be skipped.
  15. The default intensity values are configured at
  16. frameworks/base/core/res/res/values/config.xml's config_default[type]VibrationIntensity.
  17. Make sure that each default intensity value is consistent with the supported levels set
  18. here. If this settings supports only 2 levels, for example, then the default intensity
  19. should be either LOW (1) or HIGH (3).
  20. -->
  21. <integer name="config_vibration_supported_intensity_levels">3</integer>
  22. <!-- Whether to show Smooth Display feature in Settings Options -->
  23. <bool name="config_show_smooth_display">true</bool>
  24. <!-- Max network scan search time in seconds -->
  25. <integer name="config_network_scan_helper_max_search_time_sec">254</integer>
  26. </resources>