mirror of
https://github.com/LineageOS/android_device_xiaomi_whyred.git
synced 2025-10-03 09:49:16 +02:00
whyred: Adapt fingerprint HAL for sdm660
This commit is contained in:
parent
8f5f462ede
commit
1f37c1a0ad
5 changed files with 9 additions and 6 deletions
|
@ -274,8 +274,7 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hidl.base@1.0 \
|
android.hidl.base@1.0 \
|
||||||
android.hidl.manager@1.0 \
|
android.hidl.manager@1.0 \
|
||||||
android.hidl.manager@1.0-java \
|
android.hidl.manager@1.0-java
|
||||||
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998",
|
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660",
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
defaults: ["hidl_defaults"],
|
defaults: ["hidl_defaults"],
|
||||||
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998.rc"],
|
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc"],
|
||||||
srcs: ["service.cpp", "BiometricsFingerprint.cpp"],
|
srcs: ["service.cpp", "BiometricsFingerprint.cpp"],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998"
|
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660"
|
||||||
|
|
||||||
#include <hardware/hw_auth_token.h>
|
#include <hardware/hw_auth_token.h>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998
|
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660
|
||||||
class late_start
|
class late_start
|
||||||
user system
|
user system
|
||||||
group system input
|
group system input
|
|
@ -123,3 +123,7 @@ PRODUCT_PACKAGES += \
|
||||||
#Tether
|
#Tether
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.tetheroffload.control@1.0
|
android.hardware.tetheroffload.control@1.0
|
||||||
|
|
||||||
|
#Fingerprint
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue