mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-27 08:29:31 -05:00
4ce35a3c60
Fixed up: LineageOS-16.0/android_packages_apps_Backgrounds/308977.patch LineageOS-16.0/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-17.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-18.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch Must review again: LineageOS-14.1/android_packages_apps_PackageInstaller/64d8b44.patch Signed-off-by: Tad <tad@spotco.us>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tad <tad@spotco.us>
|
|
Date: Mon, 12 Feb 2018 02:41:09 -0500
|
|
Subject: [PATCH] TEMPORARY fix camera not working on user builds
|
|
|
|
Change-Id: I61e8c78bfd70be7c157c049dac201de21749d4a2
|
|
---
|
|
common/mediaserver.te | 10 ++++------
|
|
1 file changed, 4 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/common/mediaserver.te b/common/mediaserver.te
|
|
index 1108551e..6b925655 100755
|
|
--- a/common/mediaserver.te
|
|
+++ b/common/mediaserver.te
|
|
@@ -13,12 +13,10 @@ binder_call(mediaserver, rild)
|
|
#qmux_socket(mediaserver)
|
|
allow mediaserver camera_data_file:sock_file w_file_perms;
|
|
|
|
-userdebug_or_eng(`
|
|
- allow mediaserver camera_data_file:dir rw_dir_perms;
|
|
- allow mediaserver camera_data_file:file create_file_perms;
|
|
- # Access to audio
|
|
- allow mediaserver qti_debugfs:file rw_file_perms;
|
|
-')
|
|
+allow mediaserver camera_data_file:dir rw_dir_perms;
|
|
+allow mediaserver camera_data_file:file create_file_perms;
|
|
+# Access to audio
|
|
+allow mediaserver qti_debugfs:file rw_file_perms;
|
|
|
|
r_dir_file(mediaserver, sysfs_esoc)
|
|
#allow mediaserver system_app_data_file:file rw_file_perms;
|
|
--
|
|
2.31.1
|
|
|