kunlun2: Hack to override empty power hidl
This commit is contained in:
parent
5ec60c1e74
commit
4416341c21
3 changed files with 23 additions and 0 deletions
|
@ -79,6 +79,9 @@ PRODUCT_PACKAGES += \
|
||||||
android.hidl.base@1.0 \
|
android.hidl.base@1.0 \
|
||||||
libhidltransport
|
libhidltransport
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/vendor_override_manifest.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/vendor_override_manifest.xml
|
||||||
|
|
||||||
# IMS
|
# IMS
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
ims-ext-common \
|
ims-ext-common \
|
||||||
|
|
|
@ -46,6 +46,7 @@ on init
|
||||||
mount none /system/etc/wifi/WCNSS_qcom_cfg.ini /vendor/etc/wifi/WCNSS_qcom_cfg.ini bind
|
mount none /system/etc/wifi/WCNSS_qcom_cfg.ini /vendor/etc/wifi/WCNSS_qcom_cfg.ini bind
|
||||||
mount none /system/etc/init/android.hardware.light@2.0-service.rc /vendor/etc/init/android.hardware.light@2.0-service.rc bind
|
mount none /system/etc/init/android.hardware.light@2.0-service.rc /vendor/etc/init/android.hardware.light@2.0-service.rc bind
|
||||||
mount none /vendor/lost+found /vendor/overlay bind
|
mount none /vendor/lost+found /vendor/overlay bind
|
||||||
|
mount none /system/etc/vendor_override_manifest.xml /vendor/etc/vintf/manifest/android.hardware.atrace@1.0-service.xml bind
|
||||||
|
|
||||||
# set default schedTune value for foreground/top-app
|
# set default schedTune value for foreground/top-app
|
||||||
# Set default values for foreground and top-app stune
|
# Set default values for foreground and top-app stune
|
||||||
|
|
19
vendor_override_manifest.xml
Normal file
19
vendor_override_manifest.xml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<manifest version="1.0" type="device">
|
||||||
|
<hal format="hidl">
|
||||||
|
<name>android.hardware.atrace</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
<version>1.0</version>
|
||||||
|
<interface>
|
||||||
|
<name>IAtraceDevice</name>
|
||||||
|
<instance>default</instance>
|
||||||
|
</interface>
|
||||||
|
</hal>
|
||||||
|
<hal format="hidl" override="true">
|
||||||
|
<name>android.hardware.power</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
</hal>
|
||||||
|
<hal format="hidl" override="true">
|
||||||
|
<name>vendor.qti.hardware.perf</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
</hal>
|
||||||
|
</manifest>
|
Loading…
Reference in a new issue