/*
 *  Copyright (C) 2018 Chris Browet
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#include "OSScreenSaverAndroid.h"

#include "platform/android/activity/XBMCApp.h"

void COSScreenSaverAndroid::Inhibit()
{
  CXBMCApp::Get().EnableWakeLock(true);
}

void COSScreenSaverAndroid::Uninhibit()
{
  CXBMCApp::Get().EnableWakeLock(false);
}
