sdm710-common: Build aidl power stats and label it
* Fix for aidl power stats errors. * New updated legacy-um sepolicy solved the android.hardware.power@1.0::IPower/default error - Now with this we fixing both errors: BatteryStatsService: Unable to load Power Hal or power.stats HAL hwservicemanager: getTransport: Cannot find entry android.hardware.power.stats@1.0::IPowerStats/default in either framework or device manifest. hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.0::IPower/default in either framework or device manifest.
This commit is contained in:
parent
ad52c6db78
commit
d4b624fda4
2 changed files with 4 additions and 0 deletions
|
@ -343,6 +343,7 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.power@1.2 \
|
android.hardware.power@1.2 \
|
||||||
android.hardware.power@1.2.vendor \
|
android.hardware.power@1.2.vendor \
|
||||||
|
android.hardware.power.stats@1.0-service.mock \
|
||||||
android.hardware.power-service.lenovo-sdm710-libperfmgr
|
android.hardware.power-service.lenovo-sdm710-libperfmgr
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
|
@ -24,3 +24,6 @@
|
||||||
/sys/ontim_bootinfo/gps_lna u:object_r:sysfs_gps:s0
|
/sys/ontim_bootinfo/gps_lna u:object_r:sysfs_gps:s0
|
||||||
/sys/ontim_bootinfo/gps_reset u:object_r:sysfs_gps:s0
|
/sys/ontim_bootinfo/gps_reset u:object_r:sysfs_gps:s0
|
||||||
/dev/ttyHS1 u:object_r:gps_device:s0
|
/dev/ttyHS1 u:object_r:gps_device:s0
|
||||||
|
|
||||||
|
# Power aidl stats
|
||||||
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.power\.stats@1\.0-service\.mock u:object_r:hal_power_stats_default_exec:s0
|
||||||
|
|
Loading…
Reference in a new issue