Skip to content

Instantly share code, notes, and snippets.

@koumaza
Created August 12, 2020 22:18
Show Gist options
  • Save koumaza/0d22bd063f8b78b132ac35494331615b to your computer and use it in GitHub Desktop.
Save koumaza/0d22bd063f8b78b132ac35494331615b to your computer and use it in GitHub Desktop.
TARGET_FACE_UNLOCK_SUPPORTED := true
<!-- device_tree_path/overlay/frameworks/base/res/res/values/config.xml -->
<!-- Paths to the libraries that contain device specific key handlers -->
<string-array name="config_deviceKeyHandlerLibs" translatable="false">
<item>/system/priv-app/LineageParts/LineageParts.apk</item>
</string-array>
<!-- Names of the key handler classes -->
<string-array name="config_deviceKeyHandlerClasses" translatable="false">
<item>org.lineageos.lineageparts.gestures.KeyHandler</item>
</string-array>
<!-- Whether the device supports Smart Pixels -->
<bool name="config_supportSmartPixels">true</bool>
<!-- Whether device has physical tri state switch -->
<bool name="config_hasAlertSlider">true</bool>
<!-- Enable face auth when swiping security view
for popup cameras-->
<bool name="config_faceAuthOnSecurityView">true</bool>
<!-- Whether device has Dash charging support -->
<bool name="config_hasDashCharger">true</bool>
<!-- Whether device supports variable refresh rate -->
<bool name="config_hasVariableRefreshRate">true</bool>
<!-- Default setting for refresh rate
0 = Auto
1 = 60HZ
2 = 90Hz -->
<integer name="config_defaultVariableRefreshRateSetting">2</integer>
<!-- If Smart charging supported by kernel and device sepolicy -->
<bool name="config_smartChargingAvailable">true</bool>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment