Skip to content

Commit

Permalink
fingerprint: Enable to build fingerprint
Browse files Browse the repository at this point in the history
Bug: 142628006
Test: Build Pass
Change-Id: I43d20c9671f8e20f9e3cebab9328f61e02571f80
  • Loading branch information
eddielan committed Oct 15, 2019
1 parent 1089a51 commit e8ed044
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions device-sunfish.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 7 additions & 0 deletions fingerprint.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Fingerprint
PRODUCT_PACKAGES += \
[email protected] \

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
3 changes: 1 addition & 2 deletions uinput-fpc.idc
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -17,4 +17,3 @@
#
keyboard.orientationAware = 1
keyboard.builtIn = 1

4 changes: 2 additions & 2 deletions uinput-fpc.kl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e8ed044

Please sign in to comment.