The open source OpenXR runtime
at main 21 lines 689 B view raw
1// Copyright 2020-2021, Collabora, Ltd. 2// SPDX-License-Identifier: BSL-1.0 3// Author: Rylie Pavlik <rylie.pavlik@collabora.com> 4// Inline implementations: do not include on its own! 5 6#pragma once 7 8#include "android.content.h" 9 10namespace wrap { 11namespace android::service::vr { 12inline bool VrListenerService::isVrModePackageEnabled( 13 content::Context const &context, 14 content::ComponentName const &componentName) { 15 return Meta::data().clazz().call<bool>(Meta::data().isVrModePackageEnabled, 16 context.object(), 17 componentName.object()); 18} 19 20} // namespace android::service::vr 21} // namespace wrap