2026-10-13 12:43:34 +00:00
|
|
|
// Module ID: 17743
|
|
|
|
|
// Function ID: 17744
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: frames/getDefaultOrientationLockState
|
2026-10-10 08:08:14 +00:00
|
|
|
// Dependencies: [10922, 584, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: setOrientationLockState
|
|
|
|
|
|
2026-10-13 12:43:34 +00:00
|
|
|
// Module 17743 (frames/getDefaultOrientationLockState)
|
2026-10-03 08:58:59 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 584 */;
|
2026-10-10 08:08:14 +00:00
|
|
|
import getDefaultOrientationLockState from "getDefaultOrientationLockState" /* 10922 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/frames/native/getDefaultOrientationLockState.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export const setOrientationLockState = function setOrientationLockState(frameId, application, arg2) {
|
2026-08-06 08:05:19 +00:00
|
|
|
let defaultOrientationLockState = arg2;
|
|
|
|
|
if (arg2 == null) {
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj = getDefaultOrientationLockState;
|
|
|
|
|
defaultOrientationLockState = obj.getDefaultOrientationLockState(application);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (null != defaultOrientationLockState) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj3 = { type: "FRAME_SET_ORIENTATION_LOCK_STATE", frameId, lockState: defaultOrientationLockState };
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj2 = DispatcherDefault;
|
|
|
|
|
obj2.dispatch(obj3);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|