sweet: 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:
Bruno Martins 2022-02-12 01:40:30 +00:00 committed by basamaryan
parent 2514e80506
commit 4299839e0e
No known key found for this signature in database
GPG Key ID: FEB194423719B3F6
2 changed files with 9 additions and 0 deletions

View File

@ -368,4 +368,7 @@
<item>10</item>
<item>10</item>
</integer-array>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps" translatable="false">true</bool>
</resources>

View File

@ -21,4 +21,10 @@
navigation_extra_key_width -->
<dimen name="navigation_side_padding">85.0dip</dimen>
<dimen name="rounded_corner_content_padding">10dp</dimen>
<!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">1100px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1100px</dimen>
</resources>