summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2016-04-20 19:51:49 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-04-20 19:51:51 +0000
commit6ada702993227233fd362e98de93cc9e798dc75d (patch)
tree2a32663a0633a0bbf1c42412f456f01a315bc28e /core/java/android
parentfdb26b90cbbd1db31d2ee1b2c4c38cfcc7d6a46c (diff)
parent49506e089103e8fe38d10e0589688e51cceacaf2 (diff)
Merge "Add settings for altering VR display behavior." into nyc-dev
Diffstat (limited to 'core/java/android')
-rwxr-xr-xcore/java/android/provider/Settings.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 6b60f47c7d7f..d80d4bedf9f4 100755
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -6043,6 +6043,33 @@ public final class Settings {
public static final String ENABLED_VR_LISTENERS = "enabled_vr_listeners";
/**
+ * Behavior of the display while in VR mode.
+ *
+ * One of {@link #VR_DISPLAY_MODE_LOW_PERSISTENCE} or {@link #VR_DISPLAY_MODE_OFF}.
+ *
+ * @hide
+ */
+ public static final String VR_DISPLAY_MODE = "vr_display_mode";
+
+ /**
+ * Lower the display persistence while the system is in VR mode.
+ *
+ * @see PackageManager#FEATURE_VR_MODE_HIGH_PERFORMANCE
+ *
+ * @hide.
+ */
+ public static final int VR_DISPLAY_MODE_LOW_PERSISTENCE = 0;
+
+ /**
+ * Do not alter the display persistence while the system is in VR mode.
+ *
+ * @see PackageManager#FEATURE_VR_MODE_HIGH_PERFORMANCE
+ *
+ * @hide.
+ */
+ public static final int VR_DISPLAY_MODE_OFF = 1;
+
+ /**
* This are the settings to be backed up.
*
* NOTE: Settings are backed up and restored in the order they appear