commit | 944bdcd4b250f5b5930171df8735f8bff9b3f8a4 | [log] [tgz] |
---|---|---|
author | Stephane Lee <stayfan@google.com> | Wed Apr 14 22:33:28 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 14 22:33:28 2021 +0000 |
tree | cac334e773a73d474a6cc404a58da33fcbb08806 | |
parent | d32957dafd674c5f1fcafa625838bd17f08f0881 [diff] | |
parent | 7bf38352c72b9ba9d1a8a0ae795d52c7e4ca36d3 [diff] |
Add wireless/device/mitigate_threshold to control Dream Defend from GoogleBattery am: df5f6ee522 am: 833a62da50 am: 7bf38352c7 Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel-sepolicy/+/1674303 Change-Id: If8371c062236c39ac954e0ff011fdf279f7f3361
diff --git a/googlebattery/hal_googlebattery.te b/googlebattery/hal_googlebattery.te index fc08b28..cd1253b 100644 --- a/googlebattery/hal_googlebattery.te +++ b/googlebattery/hal_googlebattery.te
@@ -4,10 +4,12 @@ init_daemon_domain(hal_googlebattery) r_dir_file(hal_googlebattery, sysfs_batteryinfo) +r_dir_file(hal_googlebattery, sysfs_wlc) allow hal_googlebattery sysfs_batteryinfo:file rw_file_perms; allow hal_googlebattery self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl; allow hal_googlebattery sysfs_chargelevel:file rw_file_perms; +allow hal_googlebattery sysfs_wlc:file rw_file_perms; set_prop(hal_googlebattery, vendor_battery_defender_prop)