decord/source/modules/frames/native/getDefaultOrientationLockState.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

27 lines
1,015 B
TypeScript

// Module ID: 16619
// Function ID: 16620
// Name: setOrientationLockState
// Dependencies: [9639, 573, 2]
// Exports: setOrientationLockState
// Module 16619 (setOrientationLockState)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
import getIsTabletActivitySurface from "getIsTabletActivitySurface" /* 9639 */;
const result = set.fileFinishedImporting("modules/frames/native/getDefaultOrientationLockState.tsx");
export const setOrientationLockState = function setOrientationLockState(arg0, application) {
let defaultOrientationLockState = arg2;
if (arg2 == null) {
let obj = getIsTabletActivitySurface;
defaultOrientationLockState = obj.getDefaultOrientationLockState(application);
}
if (null != defaultOrientationLockState) {
obj = { type: "FRAME_SET_ORIENTATION_LOCK_STATE", frameId: null, lockState: null };
obj[1] = arg0;
obj[2] = defaultOrientationLockState;
dispatcherDefault.dispatch(obj);
const obj2 = dispatcherDefault;
}
};