decord/source/modules/frames/native/getDefaultOrientationLockState.tsx

22 lines
830 B
TypeScript
Raw Normal View History

2026-07-28 08:39:19 +00:00
// Module ID: 15836
// Function ID: 121958
2026-07-20 16:05:17 +00:00
// Name: setOrientationLockState
2026-07-28 08:39:19 +00:00
// Dependencies: [10632, 686, 2]
2026-07-20 16:05:17 +00:00
// Exports: setOrientationLockState
2026-07-28 08:39:19 +00:00
// Module 15836 (setOrientationLockState)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/frames/native/getDefaultOrientationLockState.tsx");
2026-07-20 16:05:17 +00:00
export const setOrientationLockState = function setOrientationLockState(id) {
let defaultOrientationLockState = arg1;
if (null == arg1) {
2026-07-28 08:39:19 +00:00
let obj = require(10632) /* getIsTabletActivitySurface */;
2026-07-20 16:05:17 +00:00
defaultOrientationLockState = obj.getDefaultOrientationLockState(id);
}
if (null != defaultOrientationLockState) {
obj = { type: "FRAME_SET_ORIENTATION_LOCK_STATE", applicationId: id.id, lockState: defaultOrientationLockState };
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch(obj);
const obj2 = importDefault(686);
2026-07-20 16:05:17 +00:00
}
};