Merge "shell: allow reading battery info dirs in /sys" am: 71955fc7ad
am: cf013954d4

Change-Id: I60d92a6709153567e29f9448a1cd4d2b54de4eb2
diff --git a/public/shell.te b/public/shell.te
index 84e76f2..4ac6638 100644
--- a/public/shell.te
+++ b/public/shell.te
@@ -142,8 +142,9 @@
 allow shell self:process ptrace;
 
 # allow shell to get battery info
-allow shell sysfs_batteryinfo:file r_file_perms;
 allow shell sysfs:dir r_dir_perms;
+allow shell sysfs_batteryinfo:dir r_dir_perms;
+allow shell sysfs_batteryinfo:file r_file_perms;
 
 # Allow access to ion memory allocation device.
 allow shell ion_device:chr_file rw_file_perms;