mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: Fill in missing parts of parts
This commit is contained in:
parent
c55b034a4b
commit
a280fa63b2
7 changed files with 39 additions and 3 deletions
|
|
@ -119,10 +119,12 @@ SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
|
|||
$(COMMON_PATH)/sepolicy/public
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += \
|
||||
$(COMMON_PATH)/sepolicy/vendor
|
||||
$(COMMON_PATH)/sepolicy/vendor \
|
||||
hardware/samsung-ext/interfaces/sepolicy/vendor
|
||||
|
||||
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
|
||||
$(COMMON_PATH)/sepolicy/private
|
||||
$(COMMON_PATH)/sepolicy/private \
|
||||
hardware/samsung-ext/interfaces/sepolicy/private
|
||||
|
||||
# Vendor
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
|
|
|
|||
13
universal7885-common/configs/vintf/lineage_manifest.xml
Normal file
13
universal7885-common/configs/vintf/lineage_manifest.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>vendor.lineage.touch</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IGloveMode/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
MANIFEST_PATH := device/samsung/universal7885-common/configs/vintf
|
||||
|
||||
DEVICE_MANIFEST_FILE := $(MANIFEST_PATH)/manifest.xml
|
||||
DEVICE_MANIFEST_FILE := $(MANIFEST_PATH)/manifest.xml $(MANIFEST_PATH)/lineage_manifest.xml
|
||||
DEVICE_MATRIX_FILE := $(MANIFEST_PATH)/compatibility_matrix.xml
|
||||
ODM_MANIFEST_SKUS += NFC
|
||||
ODM_MANIFEST_NFC_FILES := $(MANIFEST_PATH)/manifest_nfc.xml
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ on init
|
|||
write /dev/cpuset/foreground/selective_boost 1
|
||||
write /dev/cpuset/cameraserver/selective_boost 1
|
||||
|
||||
# Charger
|
||||
chown system system /sys/class/power_supply/battery/batt_slate_mode
|
||||
|
||||
## SCSC BT
|
||||
chown bluetooth bluetooth /sys/module/scsc_bt/parameters/bluetooth_address
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
allow hal_samsung_battery_default { sysfs_battery sysfs_battery_writable }:dir search;
|
||||
allow hal_samsung_battery_default sysfs_battery_writable:file rw_file_perms;
|
||||
allow hal_samsung_battery_default sysfs_battery:file r_file_perms;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
allow hal_samsung_camera_flashlight_default sysfs_flashlight:file rw_file_perms;
|
||||
allow hal_samsung_camera_flashlight_default sysfs_flashlight:dir search;
|
||||
allow hal_samsung_camera_flashlight_default sysfs_virtual:dir search;
|
||||
|
|
@ -319,6 +319,19 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||
|
||||
# DAP
|
||||
PRODUCT_PACKAGES += \
|
||||
SamsungDAP
|
||||
|
||||
# Samsung Ext Flash
|
||||
PRODUCT_PACKAGES += \
|
||||
FlashControl \
|
||||
SmartCharge
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.touch@1.0-service.samsung \
|
||||
vendor.lineage.fastcharge@1.0-service.samsung
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-impl.samsung \
|
||||
|
|
|
|||
Loading…
Reference in a new issue