Skip to content
Snippets Groups Projects
Commit 16118451 authored by Tianjie Xu's avatar Tianjie Xu Committed by android-build-merger
Browse files

Merge "Allow recovery to read thermal info on sailfish" am: 5ab5cfba

am: afa8120a

Change-Id: Ie7c760c3952650b5b7b60f956a0a5934a64e399f
parents d06d8c81 afa8120a
No related branches found
No related tags found
No related merge requests found
......@@ -91,8 +91,7 @@ recovery_only(`
allow recovery { cache_file cache_recovery_file }:file create_file_perms;
# Read /sys/class/thermal/*/temp for thermal info.
allow recovery sysfs_thermal:dir search;
allow recovery sysfs_thermal:file r_file_perms;
r_dir_file(recovery, sysfs_thermal)
# Read files on /oem.
r_dir_file(recovery, oemfs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment