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/. */
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