Commits

Nick Kralevich  committed 73244df Merge

Merge "Use userdebug_or_eng in domain.te"

  • Participants
  • Parent commits c9b02e1, 8629b43

Comments (0)

Files changed (2)

File BoardConfig.mk

        bridge.te \
        camera.te \
        device.te \
+       domain.te \
        file.te \
        irsc_util.te \
        mediaserver.te \
        genfs_contexts \
        te_macros
 
-ifneq ($(TARGET_BUILD_VARIANT),user)
-       BOARD_SEPOLICY_UNION += domain.te
-endif
-
 HAVE_ADRENO_SOURCE:= false
 
 OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so

File sepolicy/domain.te

-allow domain diag_device:chr_file rw_file_perms;
+userdebug_or_eng(`
+  allow domain diag_device:chr_file rw_file_perms;
+')