#
Overlays
#
General Overlays
#
• Refresh Rate Overlays
Overlay Path: overlay-bliss/packages/apps/Settings/res/values/bliss_config.xml
Default status: Disabled
This overlay is required to Enable Refresh Rate Controls.
<!-- Show refresh rate controls -->
<bool name="config_show_refresh_rate_controls">true</bool>
#
• Charging Support Overlay
Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml
Default status: Disabled
- VOOC Charging ( If your device supports )
This overlay is required to Enable VOOC charging support.
<!-- Whether device has VOOC charging support -->
<bool name="config_hasVoocCharger">true</bool>
- WARP Charging ( If your device supports )
This overlay is required to Enable Warp charging support.
<!-- Whether device has warp charging support -->
<bool name="config_hasWarpCharger">true</bool>
- Dash Charging ( If your device supports )
This overlay is required to Enable Dash charging support.
<!-- Whether device has dash charging support -->
<bool name="config_hasDashCharger">true</bool>
#
• Multi usb controller overlay (ONLY FOR ASUS ROG DEVICES)
Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml
Default status: Disabled
Since all ROG devices have 2 usb ports. We can use both for mtp, not just as charger.
This overlay is required to add support for Multi USB Controller.
<!-- Switch USB controller on Asus ROG devices-->
<bool name="config_switchUsbController">true</bool>
#
• Multi-colour LED
Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml
Default status: Enabled
This overlay is required to Enable Multi-coloured LED lights for supported devices.
For most of the Xiaomi devices, this must be set to 'false' as they have white-only LEDs.
<!-- Does the notification LED support multiple colors?
Used to decide if the user can change the colors -->
<bool name="config_multiColorBatteryLed">false</bool>
#
• Call Recording
This feature only works on AOSP Dialer and not on Google Dialer.
Overlay Path: overlay/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml
Default status: Disabled
This overlay is required to Enable Call recording on AOSP Dialer's.
<!-- Enable Call recording -->
<bool name="call_recording_enabled">true</bool>
<integer name="call_recording_audio_source">4</integer>
Call recording is illegal in some countries. Kindly refer to local laws before enabling this feature!!
#
UDFPS Specific Overlays
#
• UDFPS Support
Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml
This overlay is required to Enable UDFPS Support. The overlay is used to determine HBM Type for UDFPS. Required inorder for UDFPS to work.
<!-- HBM type of UDFPS overlay.
0 - GLOBAL HBM
1 - LOCAL HBM
-->
<integer name="config_udfpsHbmType">0</integer>
#
• UDFPS Vendor code
Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml
This overlay is used to define vendor code. Required inorder for UDFPS to work.
<!-- Udfps vendor code -->
<integer name="config_udfpsVendorCode">0</integer>
#
• UDFPS Animations
For UDFPS Animation to work you need 2 things in your device tree source.
- A Flag in bliss_codename.mk makefile in your respective device tree
- An overlay to set Default FOD Pressed Color
Flag Required to build UDFPS Animation resources
# UDFPS Animations
EXTRA_UDFPS_ANIMATIONS := true
To set Default UDFPS Pressed color
Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml
Default status: Disabled
This overlay is required to set Default UDFPS Pressed Color.
<!-- Default fod pressed color -->
<integer name="config_fod_pressed_color">1</integer>
To set UDFPS Animation Offset
Overlay Path: overlay-bliss/frameworks/base/packages/SystemUI/res/values/dimens.xml
This overlay is required to set UDFPS Animation offset for respective devices.
Adjust this value as per your device.
<!-- Udfps animation offset -->
<dimen name="udfps_animation_offset">50dp</dimen>
To set UDFPS Animation Size
Overlay Path: overlay-bliss/frameworks/base/packages/SystemUI/res/values/dimens.xml
This overlay is required to set UDFPS Animation size for respective devices.
Adjust this value as per your device.
<!-- Udfps animation size-->
<dimen name="udfps_animation_size">176dp</dimen>
To set Color of the UDFPS Pressed view
Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml
This overlay is required to set Color of the UDFPS Pressed view for respective devices.
<!-- Color of the UDFPS Pressed view -->
<color name="config_udfpsColor">#ffffe6</color>
#
• Screen-Off FOD
Overlay Path: overlay/packages/apps/Settings/res/values/bliss_config.xml
Default status: Disabled
This overlay is required to Enable Screen OFF FOD.
<!-- Screen off FOD -->
<bool name="config_supportScreenOffFod">true</bool>