miuicamera: Create MiuiCamera SELinux domain
Change-Id: Ia104c810aa85491531931dc5bfbf8f787493b2c0
This commit is contained in:
parent
9aaef87533
commit
c33a6e6115
@ -14,4 +14,6 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
BOARD_VENDOR_SEPOLICY_DIRS += vendor/xiaomi/sweet-miuicamera/sepolicy/vendor
|
||||||
|
|
||||||
include vendor/xiaomi/sweet-miuicamera/common/BoardConfigVendor.mk
|
include vendor/xiaomi/sweet-miuicamera/common/BoardConfigVendor.mk
|
||||||
|
15
sepolicy/vendor/miuicamera_app.te
vendored
Normal file
15
sepolicy/vendor/miuicamera_app.te
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
type miuicamera_app, domain, coredomain;
|
||||||
|
|
||||||
|
app_domain(miuicamera_app)
|
||||||
|
net_domain(miuicamera_app)
|
||||||
|
|
||||||
|
allow miuicamera_app {
|
||||||
|
app_api_service
|
||||||
|
audioserver_service
|
||||||
|
cameraserver_service
|
||||||
|
mediaextractor_service
|
||||||
|
mediametrics_service
|
||||||
|
mediaserver_service
|
||||||
|
}:service_manager find;
|
||||||
|
|
||||||
|
dontaudit miuicamera_app radio_service:service_manager find;
|
1
sepolicy/vendor/seapp_contexts
vendored
Normal file
1
sepolicy/vendor/seapp_contexts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
user=_app isPrivApp=true name=com.android.camera domain=miuicamera_app type=privapp_data_file levelFrom=all
|
Loading…
Reference in New Issue
Block a user