universal7885: Enable fingerprint gestures

Change-Id: I3289fac865b8d7bf5900d8fa8b3f5b03b818a230
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
Tim Zimmermann 2021-11-29 20:54:35 +01:00 committed by roynatech2544
commit a096bb29ed
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
5 changed files with 28 additions and 3 deletions

View file

@ -47,6 +47,9 @@ TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
# Fingerprint
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
# Include
TARGET_SPECIFIC_HEADER_PATH := $(COMMON_PATH)/include

View file

@ -0,0 +1,18 @@
#
# Copyright (C) 2021 The LineageOS 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.
#
key 108 SYSTEM_NAVIGATION_DOWN
key 103 SYSTEM_NAVIGATION_UP

View file

@ -57,7 +57,8 @@
<string name="db_wal_sync_mode" translatable="false">OFF</string>
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
<bool name="config_showNavigationBar">true</bool>
<!-- Enable system navigation keys. -->
<bool name="config_supportSystemNavigationKeys">true</bool>
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>

View file

@ -22,3 +22,5 @@ allow hal_fingerprint_default sysfs_virtual:file r_file_perms;
allow hal_fingerprint_default goodix_device:chr_file rw_file_perms;
allow hal_fingerprint_default self:netlink_socket { bind create write read };
allow hal_fingerprint_default uhid_device:chr_file rw_file_perms;

View file

@ -126,8 +126,9 @@ PRODUCT_PACKAGES += \
# Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/keylayout/Codec3035_Headset_Events.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Codec3035_Headset_Events.kl
$(LOCAL_PATH)/configs/keylayout/Codec3035_Headset_Events.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Codec3035_Headset_Events.kl \
$(LOCAL_PATH)/configs/keylayout/uinput-sec-fp.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-sec-fp.kl
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@4.0-service.samsung \