fingerprint: Enable to build fingerprint

am: cdd189c0c1

Change-Id: I2f79c8d14b419fb1c1574e8ef0e02632c91a5fd6
This commit is contained in:
eddielan
2019-09-17 01:59:20 -07:00
committed by android-build-merger
4 changed files with 35 additions and 0 deletions

View File

@@ -103,3 +103,6 @@ PRODUCT_COPY_FILES += \
# Audio effects
PRODUCT_PACKAGES += \
libqcomvoiceprocessingdescriptors
# Fingerprint HIDL
include device/google/bramble/fingerprint.mk

9
fingerprint.mk Normal file
View File

@@ -0,0 +1,9 @@
include vendor/google_devices/bramble/proprietary/FingerprintConfig.mk
# 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

19
uinput-fpc.idc Normal file
View File

@@ -0,0 +1,19 @@
# 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Fingerprint navigation configuration file
#
keyboard.orientationAware = 1
keyboard.builtIn = 1

4
uinput-fpc.kl Normal file
View File

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