sepolicy: allow mediacodec to access audio devices
Mediacodec needs to access audio devices to use OMX HW decoders and encoders. Allow mediacodec to access audio devices. Change-Id: I791776848b1d42ff1bc13a445c03197d71e3bba4
This commit is contained in:
		
							
								
								
									
										1
									
								
								qva/vendor/common/mediacodec.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								qva/vendor/common/mediacodec.te
									
									
									
									
										vendored
									
									
								
							@@ -28,6 +28,7 @@
 | 
			
		||||
#WFD
 | 
			
		||||
#Allow mediacodec to access service manager wfdnativemm_service
 | 
			
		||||
allow mediacodec wfdnativemm_service:service_manager find;
 | 
			
		||||
allow mediacodec audio_device:chr_file rw_file_perms;
 | 
			
		||||
binder_call(mediacodec, wifidisplayhalservice_qti);
 | 
			
		||||
 | 
			
		||||
get_prop(mediacodec, vendor_video_prop)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user