sdm660-common: Build power stats and label it
This commit is contained in:
parent
3ee5aa4512
commit
6166317281
2 changed files with 3 additions and 1 deletions
|
@ -435,7 +435,8 @@ PRODUCT_COPY_FILES += \
|
|||
|
||||
# Power
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.power-service.xiaomi_sdm660-libperfmgr
|
||||
android.hardware.power-service.xiaomi_sdm660-libperfmgr \
|
||||
android.hardware.power.stats@1.0-service.mock
|
||||
|
||||
# Powerhint
|
||||
ifeq ($(EAS_POWERHINT_VARIANT), sdm636)
|
||||
|
|
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
|
@ -62,6 +62,7 @@
|
|||
|
||||
# Power
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.power-service\.xiaomi_sdm660-libperfmgr u:object_r:hal_power_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.power\.stats@1\.0-service\.mock u:object_r:hal_power_stats_default_exec:s0
|
||||
|
||||
# Shell Script
|
||||
/(vendor|system/vendor)/bin/init\.goodix\.sh u:object_r:init_fingerprint_exec:s0
|
||||
|
|
Loading…
Reference in a new issue