2026-09-11 10:30:06 +00:00
|
|
|
// Module ID: 9565
|
|
|
|
|
// Function ID: 9566
|
2026-08-08 06:10:11 +00:00
|
|
|
// Name: isOrientationLockSupported
|
2026-09-11 10:30:06 +00:00
|
|
|
// Dependencies: [4586, 1608, 2]
|
2026-08-08 06:10:11 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-11 10:30:06 +00:00
|
|
|
// Module 9565 (isOrientationLockSupported)
|
|
|
|
|
import DeviceUtils from "DeviceUtils" /* 4586 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
let result = size.fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
|
2026-08-08 06:10:11 +00:00
|
|
|
|
|
|
|
|
export default function isOrientationLockSupported() {
|
2026-09-10 05:38:07 +00:00
|
|
|
const isIpadOSResult = DeviceUtils.isIpadOS();
|
2026-08-08 06:10:11 +00:00
|
|
|
let result = !isIpadOSResult;
|
|
|
|
|
if (!isIpadOSResult) {
|
2026-09-10 05:38:07 +00:00
|
|
|
result = !tmp(1608).isMetaQuest();
|
|
|
|
|
const tmpResult = tmp(1608);
|
2026-08-08 06:10:11 +00:00
|
|
|
}
|
|
|
|
|
if (result) {
|
2026-09-11 10:30:06 +00:00
|
|
|
result = tmp(4586).isOrientationLockSupported();
|
|
|
|
|
const tmpResult2 = tmp(4586);
|
2026-08-08 06:10:11 +00:00
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
};
|