mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-08-02 22:46:25 +09:00
miatoll: overlay: Set physical power button and fps location
This sets config_is_powerbutton_fps, since the device has fps embedded in the power button. It makes frameworks report that fingerprint sensor is located on the side of the device, which can be observed when enrolling a fingerprint for the first time. Change-Id: Ifa079488db642c8a470e40cb585c08e9c85d7cf4
This commit is contained in:
committed by
Alexander Winkowski
parent
7c410e79d5
commit
744f71356d
@ -328,4 +328,7 @@
|
||||
Equivalent to 67/255 (default for this device) -->
|
||||
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.26274509804</item>
|
||||
|
||||
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
||||
<bool name="config_is_powerbutton_fps">true</bool>
|
||||
|
||||
</resources>
|
||||
|
@ -17,4 +17,12 @@
|
||||
-->
|
||||
<resources>
|
||||
<dimen name="rounded_corner_content_padding">16dp</dimen>
|
||||
|
||||
<!-- Location on the screen of the center of the physical power button. -->
|
||||
<dimen name="physical_power_button_center_screen_location_y">760px</dimen>
|
||||
|
||||
<!-- Location on the screen of the center of the fingerprint sensor. -->
|
||||
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080px</dimen>
|
||||
<dimen name="physical_fingerprint_sensor_center_screen_location_y">760px</dimen>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user