Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b30a7ef authored by Rohit Sekhar's avatar Rohit Sekhar
Browse files

FP5: overlay: Specify powerbutton sfps related overlays

parent 6a071038
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -92,4 +92,21 @@
        L 43.5 0
        Z
    </string>

    <!-- Indicates whether device has a power button fingerprint sensor. -->
    <bool name="config_is_powerbutton_fps" translatable="false">true</bool>

    <!-- An array of arrays of side fingerprint sensor properties relative to each display.
         Note: this value is temporary and is expected to be queried directly
         from the HAL in the future. -->
    <array name="config_sfps_sensor_props" translatable="false">
        <item>@array/config_sfps_sensor_props_0</item>
    </array>

    <array name="config_sfps_sensor_props_0" translatable="false">
        <item>local:4630946480328692354</item> <!--item>displayId</item-->
        <item>1224</item> <!--item>sensorLocationX</item-->
        <item>1105</item> <!--item>sensorLocationY</item-->
        <item>200</item> <!--item>sensorRadius</item-->
    </array>
</resources>
+9 −0
Original line number Diff line number Diff line
@@ -14,4 +14,13 @@

    <!-- the padding on the end of the statusbar -->
    <dimen name="status_bar_padding_end">0px</dimen>

    <!-- Location on the screen of the center of the physical power button. -->
    <dimen name="physical_power_button_center_screen_location_y">1105px</dimen>

    <!-- Location on the screen of the center of the fingerprint sensor. -->
    <dimen name="physical_fingerprint_sensor_center_screen_location_x">1224px</dimen>

    <!-- Location on the screen of the center of the fingerprint sensor. -->
    <dimen name="physical_fingerprint_sensor_center_screen_location_y">1105px</dimen>
</resources>