decord/source/modules/device/native/isOrientationLockSupported.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

25 lines
724 B
TypeScript

// Module ID: 9615
// Function ID: 9616
// Name: isOrientationLockSupported
// Dependencies: [4617, 1609, 2]
// Exports: default
// Module 9615 (isOrientationLockSupported)
import DeviceUtils from "DeviceUtils" /* 4617 */;
import size from "module_2" /* 2 */;
let result = size.fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
export default function isOrientationLockSupported() {
const isIpadOSResult = DeviceUtils.isIpadOS();
let result = !isIpadOSResult;
if (!isIpadOSResult) {
result = !tmp(1609).isMetaQuest();
const tmpResult = tmp(1609);
}
if (result) {
result = tmp(4617).isOrientationLockSupported();
const tmpResult2 = tmp(4617);
}
return result;
};