Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Fix SELinux issues and bump to version 1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Vecera <[email protected]>
  • Loading branch information
ivecera committed Aug 26, 2020
1 parent 0608c3f commit ad2b400
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=anx_pyxis_fix
name=Pyxis Fix for ANXCamera
version=v1.0
versionCode=1
version=v1.1
versionCode=2
author=Cera
description=Mi 9 Lite (pyxis) fix for ANXCamera
15 changes: 15 additions & 0 deletions sepolicy.rule
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#============= hal_camera_default ==============
allow hal_camera_default default_prop file { getattr open read }
allow hal_camera_default hal_configstore_default binder call
allow hal_camera_default hal_configstore_ISurfaceFlingerConfigs hwservice_manager find
allow hal_camera_default hal_graphics_allocator_default binder call
allow hal_camera_default hal_graphics_allocator_hwservice hwservice_manager find

#============= cameraserver ==============
allow cameraserver init unix_stream_socket connectto
allow cameraserver property_socket sock_file write
allow cameraserver vendor_default_prop property_service set

#============= priv_app ==============
allow priv_app vendor_audio_prop file { getattr open }
allow priv_app vendor_file file { execute getattr open read }

0 comments on commit ad2b400

Please sign in to comment.