OSDN Git Service

Add feature declarations for a VR mode.
authorRuben Brunk <rubenbrunk@google.com>
Sat, 5 Dec 2015 00:24:31 +0000 (16:24 -0800)
committerRuben Brunk <rubenbrunk@google.com>
Tue, 15 Dec 2015 05:46:50 +0000 (21:46 -0800)
Bug: 22855417

Change-Id: I147c910fdb13969fa6cb49a2caedf55634a4c7f1

data/etc/android.software.vr.xml [new file with mode: 0644]
data/etc/handheld_core_hardware.xml

diff --git a/data/etc/android.software.vr.xml b/data/etc/android.software.vr.xml
new file mode 100644 (file)
index 0000000..c7680ec
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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.
+-->
+
+<!-- This is the set of features required for a VR-compatible device -->
+<permissions>
+    <feature name="android.software.vr.mode" />
+</permissions>
index 50cbe9e..5edf0e8 100644 (file)
@@ -50,6 +50,9 @@
     <!-- Feature to specify if the device support managed users. -->
     <feature name="android.software.managed_users" />
 
+    <!-- Feature to specify if the device supports a VR mode. -->
+    <feature name="android.software.vr.mode" />
+
     <!-- devices with GPS must include android.hardware.location.gps.xml -->
     <!-- devices with an autofocus camera and/or flash must include either
          android.hardware.camera.autofocus.xml or