sm8750-common: Ship ConsumerIR App

Change-Id: Ie4d47ee682da520cecb26b2ea1fd8614d5f5142e
Signed-off-by: Sean Du <do4suki@gmail.com>
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
This commit is contained in:
Sean Du
2025-06-26 22:27:15 +08:00
committed by osm1019
parent 2c67ed50b9
commit df63f42373
4 changed files with 18 additions and 0 deletions

View File

@@ -216,6 +216,9 @@ ifneq ($(TARGET_IS_TABLET),true)
PRODUCT_PACKAGES += \
android.hardware.ir-service.oplus
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/oplus-hiddenapi-package-allowlist.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/oplus-hiddenapi-package-allowlist.xml
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/android.hardware.consumerir.xml
endif

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This XML file declares which platform apps that need to access internal APIs. -->
<config>
<hidden-api-whitelisted-app package="com.oplus.consumerIRApp" />
</config>

View File

@@ -11,4 +11,9 @@
<!-- Path to fast charging status file to detect whether an oem fast charger is active -->
<string name="config_oemFastChargerStatusPath" translatable="false">/sys/class/oplus_chg/battery/voocchg_ing</string>
<!-- Default value for proximity check on screen wake
NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
<bool name="config_proximityCheckOnWake">true</bool>
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
</resources>

View File

@@ -238,6 +238,11 @@ vendor/etc/ssg/ta_config.json
vendor/etc/ssg/tz_whitelist.json
vendor/lib64/libtaautoload.so
# ConsumerIR
my_product/del-app/ConsumerIRApp/ConsumerIRApp.apk:product/app/ConsumerIRApp/ConsumerIRApp.apk;PRESIGNED
my_stock/etc/asl/com.oplus.consumerIRApp-safetyLabel.xml:product/etc/asl/com.oplus.consumerIRApp-safetyLabel.xml
# Data
vendor/bin/adpl
vendor/bin/embmsslServer