summaryrefslogtreecommitdiff
path: root/permissions
diff options
context:
space:
mode:
Diffstat (limited to 'permissions')
-rw-r--r--permissions/tv_sdk_excluded_core_hardware.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/permissions/tv_sdk_excluded_core_hardware.xml b/permissions/tv_sdk_excluded_core_hardware.xml
new file mode 100644
index 0000000..5611ada
--- /dev/null
+++ b/permissions/tv_sdk_excluded_core_hardware.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2019 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Excludes all non-default ATV SDK features to comply with CTS -->
+<permissions>
+ <!-- ATV SDK is not designed to have any cameras by default -->
+ <unavailable-feature name="android.hardware.camera" />
+ <unavailable-feature name="android.hardware.camera.front" />
+ <unavailable-feature name="android.hardware.camera.any" />
+ <unavailable-feature name="android.hardware.camera.ar" />
+ <unavailable-feature name="android.hardware.camera.autofocus" />
+ <unavailable-feature name="android.hardware.camera.level.full" />
+ <unavailable-feature name="android.hardware.camera.capability.manual_sensor" />
+ <unavailable-feature name="android.hardware.camera.capability.manual_post_processing" />
+</permissions>