Explorar el Código

support screenoffudfps

Change-Id: I952956873e709ef935fe302eb69e145120bbdbe8
j7b3y hace 3 meses
padre
commit
07fe1bfd30

+ 4 - 0
lineage_lynx.mk

@@ -7,6 +7,7 @@
 # Inherit some common stuff
 TARGET_DISABLE_EPPE := true
 $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
+$(call inherit-product, vendor/gapps/arm64/arm64-vendor.mk)
 
 # Inherit device configuration
 DEVICE_CODENAME := lynx
@@ -25,6 +26,9 @@ PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
 TARGET_SCREEN_HEIGHT := 2400
 TARGET_SCREEN_WIDTH := 1080
 
+# UDFPS
+TARGET_HAS_UDFPS := true
+
 PRODUCT_BUILD_PROP_OVERRIDES += \
     BuildDesc="lynx-user 15 AP3A.241105.007 12470370 release-keys" \
     BuildFingerprint=google/lynx/lynx:15/AP3A.241105.007/12470370:user/release-keys \

+ 5 - 0
overlay-lineage/frameworks/base/core/res/res/values/config.xml

@@ -19,4 +19,9 @@
 
     <!-- IWLAN-->
     <string name="config_qualified_networks_service_package">com.android.qns</string>
+
+    <!-- Type of the udfps long press sensor. Empty if long press is not supported. -->
+    <string name="config_dozeUdfpsLongPressSensorType" translatable="false">1</string>
+    <!-- Whether devices suports in-display fingerprint when screen is off -->
+    <bool name="config_supportScreenOffUdfps">true</bool>
 </resources>