1package com.google.vr.platform; 2 3import android.os.SystemProperties; 4 5/** 6 * Class to get information about the vr device. 7 * @hide 8 */ 9public class DeviceInfo { 10 11 private static final String VR_MODE_BOOT = "ro.boot.vr"; 12 13 /** 14 * Returns true if this device boots directly in VR mode. 15 */ 16 public static boolean getVrBoot() { 17 return SystemProperties.getBoolean(VR_MODE_BOOT, false); 18 } 19} 20