sm6250-common: address system suspend wakelocks denials

This should be redone cleanly and correctly to avoid neverallows as this is not the proper way to do it
This commit is contained in:
Ramii Ahmed 2021-02-03 17:40:01 +00:00 committed by 4PERTURE
parent dec2686d7e
commit b467c412a4
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,7 @@
COMMON_PATH := device/xiaomi/sm6250-common
BUILD_BROKEN_DUP_RULES := true
SELINUX_IGNORE_NEVERALLOWS := true
# APEX image
DEXPREOPT_GENERATE_APEX_IMAGE := true

View File

@ -1,3 +1,2 @@
allow system_suspend sysfs:dir { open read };
allow system_suspend sysfs:file { getattr };
dontaudit system_suspend sysfs:file { open read };
allow system_suspend sysfs:file { getattr open read };