Skip to content

Commit

Permalink
Add feature declarations for a VR mode.
Browse files Browse the repository at this point in the history
Bug: 22855417

Change-Id: I147c910fdb13969fa6cb49a2caedf55634a4c7f1
  • Loading branch information
rubenbrunk committed Dec 15, 2015
1 parent 438afe1 commit 67d2fde
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions data/etc/android.software.vr.xml
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions data/etc/handheld_core_hardware.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67d2fde

Please sign in to comment.