From f640bb9bbbe104fd08c98df240f1aeea0cacdbab Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Tue, 23 Apr 2013 14:32:19 -0700 Subject: [PATCH] Add new android.permission.CAMERA_DISABLE_TRANSMIT_LED This system-only permission allows a service to disable the transmit LED when a camera is in use. Bug: 8554573 Change-Id: I64f7e3fcdc8ded8be3904650bd0c91d3b8f10dd4 --- core/res/AndroidManifest.xml | 9 +++++++++ core/res/res/values/strings.xml | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index cb14374f13ab..d2895b7293cf 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -938,6 +938,15 @@ android:label="@string/permlab_camera" android:description="@string/permdesc_camera" /> + + + diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index db9602a1f10d..a51371f21142 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -1377,6 +1377,10 @@ Allows the app to take pictures and videos with the camera. This permission allows the app to use the camera at any time without your confirmation. + + disable transmit indicator LED when camera is in use + + Allows a pre-installed system application to disable the camera use indicator LED. permanently disable tablet -- 2.11.0