rosemary: rootdir: Correct mode for video0 and video1

- init services fail to setup encoders on boot and camera and
  screenrecord fails to open video1 when trying to encode a video.
- While we may wanna consider looking through services that make use of
  these devs and correct their groups for AOSP, this gets the job done
  for now.

Change-Id: I0278efe201a9cbaa20c650fdc32bed6f9ecfd017
This commit is contained in:
Kshitij Gupta
2020-06-01 14:48:11 +05:30
committed by Matsvei Niaverau
parent f1976cb3e3
commit 25e13e931a

View File

@@ -490,9 +490,9 @@ on post-fs-data
#VideoCodec
chmod 0660 /dev/vcu
chown media system /dev/vcu
chmod 0660 /dev/video0
chmod 0666 /dev/video0
chown mediacodec system /dev/video0
chmod 0660 /dev/video1
chmod 0666 /dev/video1
chown mediacodec system /dev/video1
mkdir /data/vendor/vcodec 0770 media system
mkdir /data/vendor/vcodec/log 0770 media system