no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / hal / fallback / FallbackScreenConfiguration.cpp
blobe298855b90ce78485358e881126edc4410069acd
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "Hal.h"
7 namespace mozilla::hal_impl {
9 RefPtr<GenericNonExclusivePromise> LockScreenOrientation(
10 const hal::ScreenOrientation& aOrientation) {
11 return GenericNonExclusivePromise::CreateAndReject(
12 NS_ERROR_DOM_NOT_SUPPORTED_ERR, __func__);
15 void UnlockScreenOrientation() {}
17 } // namespace mozilla::hal_impl