mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
a20: Wire up fingerprint
This commit is contained in:
parent
139162a5e1
commit
21335a7e0a
3 changed files with 21 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ TARGET_KERNEL_CONFIG += a20.config
|
||||||
# Display
|
# Display
|
||||||
TARGET_SCREEN_DENSITY := 280
|
TARGET_SCREEN_DENSITY := 280
|
||||||
|
|
||||||
|
# Fingerprint
|
||||||
|
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
|
||||||
|
|
||||||
# Partitions
|
# Partitions
|
||||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528 # 55MB
|
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528 # 55MB
|
||||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4303355904
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4303355904
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,13 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
|
||||||
TARGET_SCREEN_HEIGHT := 1560
|
TARGET_SCREEN_HEIGHT := 1560
|
||||||
TARGET_SCREEN_WIDTH := 720
|
TARGET_SCREEN_WIDTH := 720
|
||||||
|
|
||||||
|
# Fingerprint
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.biometrics.fingerprint@2.3-service.samsung
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||||
|
|
||||||
# Soong namespaces
|
# Soong namespaces
|
||||||
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
|
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,9 @@
|
||||||
<!-- Whether device supports double tap to wake -->
|
<!-- Whether device supports double tap to wake -->
|
||||||
<bool name="config_supportDoubleTapWake">true</bool>
|
<bool name="config_supportDoubleTapWake">true</bool>
|
||||||
|
|
||||||
|
<!-- Specify if the fingerprint hardware support gestures-->
|
||||||
|
<bool name="config_fingerprintSupportsGestures">true</bool>
|
||||||
|
|
||||||
<!-- The bounding path of the cutout region of the main built-in display.
|
<!-- The bounding path of the cutout region of the main built-in display.
|
||||||
Must either be empty if there is no cutout region, or a string that is parsable by
|
Must either be empty if there is no cutout region, or a string that is parsable by
|
||||||
{@link android.util.PathParser}.
|
{@link android.util.PathParser}.
|
||||||
|
|
@ -46,4 +49,12 @@
|
||||||
-->
|
-->
|
||||||
<string name="config_mainBuiltInDisplayCutout">M 0,0 H -22.42857142857143 V 30.85714285714286 H 22.42857142857143 V 0 H 0 Z @dp</string>
|
<string name="config_mainBuiltInDisplayCutout">M 0,0 H -22.42857142857143 V 30.85714285714286 H 22.42857142857143 V 0 H 0 Z @dp</string>
|
||||||
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
|
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
|
||||||
|
|
||||||
|
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||||
|
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||||
|
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||||
|
and Strength as defined in Authenticators.java -->
|
||||||
|
<string-array name="config_biometric_sensors" translatable="false" >
|
||||||
|
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||||
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue