Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d8e6e3c authored by David Brazdil's avatar David Brazdil Committed by Android (Google) Code Review
Browse files

Merge "Revert^2: Greylist com.google.vr.platform hidden methods"

parents bcbced4f a1c19e12
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
package com.google.vr.platform;

import android.annotation.UnsupportedAppUsage;
import android.os.SystemProperties;

/**
@@ -13,6 +14,7 @@ public class DeviceInfo {
    /**
     * Returns true if this device boots directly in VR mode.
     */
    @UnsupportedAppUsage
    public static boolean getVrBoot() {
        return SystemProperties.getBoolean(VR_MODE_BOOT, false);
    }
+3 −0
Original line number Diff line number Diff line
package com.google.vr.platform;

import android.annotation.UnsupportedAppUsage;

/**
 * Class to load the dvr api.
 * @hide
@@ -10,6 +12,7 @@ public class Dvr {
     *
     * @return A Long object describing the handle returned by dlopen.
     */
    @UnsupportedAppUsage
    public static Long loadLibrary() {
        // Load a thin JNI library that runs dlopen on request.
        System.loadLibrary("dvr_loader");