android_device_tecno_LG8n/overlay/SystemUIOverlayLG8n/res/values/dimens.xml
Bruno Martins 3dacf79c32 LG8n: 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
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:57:42 +08:00

32 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">1100px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1150px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor -->
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080px</dimen>
</resources>