fingerprint: Enable to build fingerprint

Bug: 142628006
Test: Build Pass
Change-Id: I43d20c9671f8e20f9e3cebab9328f61e02571f80
This commit is contained in:
eddielan
2019-10-15 11:41:28 +08:00
parent 1089a51182
commit e8ed044547
4 changed files with 13 additions and 4 deletions

View File

@@ -35,3 +35,6 @@ PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml
# Fingerprint HIDL
include device/google/sunfish/fingerprint.mk

7
fingerprint.mk Normal file
View File

@@ -0,0 +1,7 @@
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.fpc \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
$(LOCAL_PATH)/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2017 The Android Open Source Project
# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,4 +17,3 @@
#
keyboard.orientationAware = 1
keyboard.builtIn = 1

View File

@@ -1,4 +1,4 @@
key 106 SYSTEM_NAVIGATION_LEFT
key 105 SYSTEM_NAVIGATION_LEFT
key 108 SYSTEM_NAVIGATION_DOWN
key 103 SYSTEM_NAVIGATION_UP
key 105 SYSTEM_NAVIGATION_RIGHT
key 106 SYSTEM_NAVIGATION_RIGHT