Skip to content

Commit 67d2fde

Browse files
committed
Add feature declarations for a VR mode.
Bug: 22855417 Change-Id: I147c910fdb13969fa6cb49a2caedf55634a4c7f1
1 parent 438afe1 commit 67d2fde

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

data/etc/android.software.vr.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (C) 2015 The Android Open Source Project
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
<!-- This is the set of features required for a VR-compatible device -->
18+
<permissions>
19+
<feature name="android.software.vr.mode" />
20+
</permissions>

data/etc/handheld_core_hardware.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
<!-- Feature to specify if the device support managed users. -->
5151
<feature name="android.software.managed_users" />
5252

53+
<!-- Feature to specify if the device supports a VR mode. -->
54+
<feature name="android.software.vr.mode" />
55+
5356
<!-- devices with GPS must include android.hardware.location.gps.xml -->
5457
<!-- devices with an autofocus camera and/or flash must include either
5558
android.hardware.camera.autofocus.xml or

0 commit comments

Comments
 (0)