Unverified Commit 3ad03c77 authored by pjgowtham's avatar pjgowtham
Browse files

nicky: Add overlays for physical fp sensor

parent 55d7c274
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -310,7 +310,8 @@ PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += $(LOCAL_PATH)/overlay/packages/apps/Car
PRODUCT_PACKAGES += \
    FrameworksResTarget_oled \
    FrameworksResTarget_RMX1971 \
    SystemUIResTarget_oled
    SystemUIResTarget_oled \
    SystemUIResTarget_lcd

# Perf
PRODUCT_PACKAGES += \
+4 −0
Original line number Diff line number Diff line
runtime_resource_overlay {
    name: "SystemUIResTarget_lcd",
    device_specific: true,
}
+10 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="android.overlay.oplus_lcd">
    <overlay
        android:isStatic="true"
        android:priority="1"
        android:requiredSystemPropertyName="ro.vendor.fp_type"
        android:requiredSystemPropertyValue="physical"
        android:targetPackage="com.android.systemui" />
</manifest>
+14 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2022 The LineageOS Project
     SPDX-License-Identifier: Apache-2.0
-->
<resources>

    <!-- 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">530px</dimen>

</resources>