sepolicy: Allow apps to read battery status
* Various apps do this to monitor the battery. No harm there. Change-Id: Id1b843ca509747ed963b89d025a39b5b1fcc7ddb
This commit is contained in:
		@@ -10,6 +10,10 @@ allow untrusted_app sysfs_thermal:file r_file_perms;
 | 
			
		||||
allow untrusted_app sysfs_thermal:lnk_file r_file_perms;
 | 
			
		||||
allow untrusted_app sysfs_thermal:dir r_dir_perms;
 | 
			
		||||
 | 
			
		||||
# allow apps to read battery status
 | 
			
		||||
allow untrusted_app sysfs_battery_supply:dir r_dir_perms;
 | 
			
		||||
allow untrusted_app sysfs_battery_supply:file r_file_perms;
 | 
			
		||||
 | 
			
		||||
# test apps needs to communicate with imscm
 | 
			
		||||
# using binder call
 | 
			
		||||
userdebug_or_eng(`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user