allow camera calibration
diff --git a/file.te b/file.te
index ba85ca5..e5c8502 100644
--- a/file.te
+++ b/file.te
@@ -48,6 +48,7 @@
type wifi_data_file, file_type, data_file_type;
type radio_data_file, file_type, data_file_type;
type nfc_data_file, file_type, data_file_type;
+type camera_calibration_file, file_type, data_file_type;
# /data/data subdirectories - app sandboxes
type app_data_file, file_type, data_file_type;
# Default type for anything under /cache
diff --git a/file_contexts b/file_contexts
index bb58efe..39c4363 100644
--- a/file_contexts
+++ b/file_contexts
@@ -122,6 +122,7 @@
/data/misc/vpn(/.*)? u:object_r:vpn_data_file:s0
/data/misc/systemkeys(/.*)? u:object_r:systemkeys_data_file:s0
/data/misc/wifi(/.*)? u:object_r:wifi_data_file:s0
+/data/misc/camera(/.*)? u:object_r:camera_calibration_file:s0
# App sandboxes
/data/data/.* u:object_r:app_data_file:s0
# Wallpaper file.
diff --git a/mediaserver.te b/mediaserver.te
index c6af603..8d37fb7 100644
--- a/mediaserver.te
+++ b/mediaserver.te
@@ -31,3 +31,7 @@
# Inter System processes communicate over named pipe (FIFO)
allow mediaserver system:fifo_file r_file_perms;
+
+# Camera calibration
+allow mediaserver camera_calibration_file:dir r_dir_perms;
+allow mediaserver camera_calibration_file:file r_file_perms;