Skip to content

Commit

Permalink
allow cameraserver to access /dev/video13 and /dev/video14
Browse files Browse the repository at this point in the history
Change-Id: I26c7b7bd794aea5dceaa895d12cd0b75b28d5fb6
  • Loading branch information
Stricted committed Dec 31, 2017
1 parent f5a6bee commit d0c5a05
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
12 changes: 12 additions & 0 deletions product/adb.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ifeq ($(TARGET_BUILD_VARIANT),eng)

PRODUCT_PROPERTY_OVERRIDES += \
ro.secure=0 \
ro.adb.secure=0 \
ro.hardware=universal7580 \
persist.service.adb.enable=1 \
persist.service.debuggable=1 \
persist.sys.usb.config=adb \
ro.securestorage.support=false

endif
7 changes: 3 additions & 4 deletions rootdir/etc/ueventd.samsungexynos7580.rc
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@
/dev/video9 0660 media mediadrm

# camera
/dev/video100 0660 cameraserver cameraserver
/dev/video101 0660 cameraserver cameraserver
/dev/video102 0660 cameraserver cameraserver
/dev/video103 0660 cameraserver cameraserver
/dev/video104 0660 cameraserver cameraserver
/dev/video109 0660 cameraserver cameraserver
/dev/video110 0660 cameraserver cameraserver
/dev/video111 0660 cameraserver cameraserver
Expand All @@ -93,8 +92,8 @@
/dev/video11 0660 media media

# jpeg
/dev/video13 0660 media media
/dev/video14 0660 media media
/dev/video13 0660 cameraserver media
/dev/video14 0660 cameraserver media

# audio
/dev/seiren 0660 system audio
Expand Down
2 changes: 1 addition & 1 deletion system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ ro.enable_boot_charger_mode=1


# Default OMX service to non-Treble
persist.media.treble_omx=false
persist.media.treble_omx=false

0 comments on commit d0c5a05

Please sign in to comment.