2026-09-01 10:26:29 +00:00
|
|
|
// Module ID: 9525
|
|
|
|
|
// Function ID: 9526
|
2026-08-08 06:10:11 +00:00
|
|
|
// Name: isOrientationLockSupported
|
2026-09-01 10:26:29 +00:00
|
|
|
// Dependencies: [4457, 1624, 2]
|
2026-08-08 06:10:11 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-01 10:26:29 +00:00
|
|
|
// Module 9525 (isOrientationLockSupported)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-01 10:26:29 +00:00
|
|
|
import DCDDeviceManager from "DCDDeviceManager" /* 4457 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
|
|
|
|
let result = set.fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
|
2026-08-08 06:10:11 +00:00
|
|
|
|
|
|
|
|
export default function isOrientationLockSupported() {
|
2026-08-24 06:08:38 +00:00
|
|
|
const isIpadOSResult = DCDDeviceManager.isIpadOS();
|
2026-08-08 06:10:11 +00:00
|
|
|
let result = !isIpadOSResult;
|
|
|
|
|
if (!isIpadOSResult) {
|
2026-08-31 15:47:37 +00:00
|
|
|
let tmpResult = tmp(1624);
|
2026-08-08 06:10:11 +00:00
|
|
|
result = !tmpResult.isMetaQuest();
|
|
|
|
|
}
|
|
|
|
|
if (result) {
|
2026-09-01 10:26:29 +00:00
|
|
|
tmpResult = tmp(4457);
|
2026-08-08 06:10:11 +00:00
|
|
|
result = tmpResult.isOrientationLockSupported();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
};
|