camera_device: remove type

camera_device didn't really offer much in terms of control considering
that most domains that need camera_device, also need video_device and
vice versa.

Thus, drop camera_device from the policy.

Change-Id: I9608f5ec45966484816ff11fd57f27df4d5d587a
diff --git a/sepolicy/camera.te b/sepolicy/camera.te
index afeb1ed..60dd0c4 100644
--- a/sepolicy/camera.te
+++ b/sepolicy/camera.te
@@ -6,8 +6,8 @@
 init_daemon_domain(camera)
 
 # Interact with other media devices
-allow camera camera_device:dir search;
-allow camera { gpu_device video_device camera_device }:chr_file rw_file_perms;
+allow camera video_device:dir search;
+allow camera { gpu_device video_device }:chr_file rw_file_perms;
 allow camera { surfaceflinger mediaserver }:fd use;
 
 # Connect to sensor socket (/dev/sensor/sensor_ctl_socket)
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index d0396e4..bd456be 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -69,8 +69,8 @@
 /dev/ramdump_.*                 u:object_r:ramdump_device:s0
 
 # MSM camera related
-/dev/media([0-9])+              u:object_r:camera_device:s0
-/dev/jpeg[0-9]*                 u:object_r:camera_device:s0
+/dev/media([0-9])+              u:object_r:video_device:s0
+/dev/jpeg[0-9]*                 u:object_r:video_device:s0
 
 /dev/bcm2079x-i2c                  u:object_r:nfc_device:s0