decord/source/modules/device/native/isOrientationLockSupported.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

25 lines
723 B
TypeScript

// Module ID: 9401
// Function ID: 9402
// Name: isOrientationLockSupported
// Dependencies: [4460, 1623, 2]
// Exports: default
// Module 9401 (isOrientationLockSupported)
import set from "set" /* 2 */;
import DCDDeviceManager from "DCDDeviceManager" /* 4460 */;
let result = set.fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
export default function isOrientationLockSupported() {
const isIpadOSResult = DCDDeviceManager.isIpadOS();
let result = !isIpadOSResult;
if (!isIpadOSResult) {
let tmpResult = tmp(1623);
result = !tmpResult.isMetaQuest();
}
if (result) {
tmpResult = tmp(4460);
result = tmpResult.isOrientationLockSupported();
}
return result;
};