hal/fallback/FallbackScreenPower.cpp
author Edwin Flores <eflores@mozilla.com>
Fri, 30 Jan 2015 16:54:12 +1300
changeset 243625 c76f32421541b5add9393bf335952aa03116bc7e
parent 205623 3dd59dda51fce8a55862a61061a35dc61307d86e
child 284279 91d6e262b662a0b4e47358665e222d3927337af9
permissions -rw-r--r--
Bug 1127115 - Make MP4 parser assertion non-fatal. r=ajones, a=sledru

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=8 et ft=cpp : */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

namespace mozilla {
namespace hal_impl {

bool
GetScreenEnabled()
{
  return true;
}

void
SetScreenEnabled(bool aEnabled)
{}

bool
GetKeyLightEnabled()
{
  return true;
}

void
SetKeyLightEnabled(bool aEnabled)
{}

double
GetScreenBrightness()
{
  return 1;
}

void
SetScreenBrightness(double aBrightness)
{}

} // hal_impl
} // namespace mozilla