sm7125-common: switch to AIDL fingerprint HAL

Change-Id: I74e786b3d91f6d54fb29f1259ea4423b6bb1e95a
urubino-microg
Simon1511 10 months ago committed by Ruchit
parent 0ef529cb1b
commit aa6cbc7095
  1. 2
      common.mk
  2. 8
      configs/framework_compatibility_matrix.xml
  3. 11
      overlay/frameworks/base/core/res/res/values/config.xml
  4. 2
      sepolicy/vendor/file_contexts

@ -169,7 +169,7 @@ PRODUCT_PACKAGES += \
# Fingerprint # Fingerprint
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.3-service.samsung android.hardware.biometrics.fingerprint-service.samsung
# fastbootd # fastbootd
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

@ -9,14 +9,6 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl" optional="true">
<name>android.hardware.biometrics.fingerprint</name>
<version>2.3</version>
<interface>
<name>IBiometricsFingerprint</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true"> <hal format="hidl" optional="true">
<name>android.hardware.gnss</name> <name>android.hardware.gnss</name>
<version>1.0-1</version> <version>1.0-1</version>

@ -1191,14 +1191,6 @@
on the headphone/microphone jack. When false use the older uevent framework. --> on the headphone/microphone jack. When false use the older uevent framework. -->
<bool name="config_useDevInputEventForAudioJack">true</bool> <bool name="config_useDevInputEventForAudioJack">true</bool>
<!-- 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>
</string-array>
<!-- Whether the always on display mode is available. This should only be enabled <!-- Whether the always on display mode is available. This should only be enabled
on devices where the display has been tuned to be power efficient in DOZE and/or on devices where the display has been tuned to be power efficient in DOZE and/or
DOZE_SUSPEND states. --> DOZE_SUSPEND states. -->
@ -1256,9 +1248,6 @@
<!-- 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>
<!-- For performance and storage reasons, limit the number of fingerprints per user -->
<integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
<!-- Control whether Night display is available. This should only be enabled on devices <!-- Control whether Night display is available. This should only be enabled on devices
that have a HWC implementation that can apply the matrix passed to setColorTransform that have a HWC implementation that can apply the matrix passed to setColorTransform
without impacting power, performance, and app compatibility (e.g. protected content). --> without impacting power, performance, and app compatibility (e.g. protected content). -->

@ -59,7 +59,7 @@
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch\@[0-9]\.[0-9]-service.sm7125 u:object_r:hal_lineage_touch_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch\@[0-9]\.[0-9]-service.sm7125 u:object_r:hal_lineage_touch_default_exec:s0
/(vendor|system/vendor)/bin/secril_config_svc u:object_r:secril_config_svc_exec:s0 /(vendor|system/vendor)/bin/secril_config_svc u:object_r:secril_config_svc_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service.samsung-qcom\.sm7125 u:object_r:hal_lineage_livedisplay_sysfs_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service.samsung-qcom\.sm7125 u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/(vendor|system/vendor)/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.samsung u:object_r:hal_fingerprint_default_exec:s0 /(vendor|system/vendor)/bin/hw/android.hardware.biometrics.fingerprint-service.samsung u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor.samsung.hardware.thermal@1.0-service u:object_r:hal_thermal_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor.samsung.hardware.thermal@1.0-service u:object_r:hal_thermal_default_exec:s0
/(vendor|system/vendor)/bin/hw/android.hardware.sensors@[0-9].[0-9]-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0 /(vendor|system/vendor)/bin/hw/android.hardware.sensors@[0-9].[0-9]-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0

Loading…
Cancel
Save