2026-09-25 08:38:05 +00:00
|
|
|
// Module ID: 8905
|
|
|
|
|
// Function ID: 8906
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: doesOrientationMatchLockState
|
2026-09-19 06:52:51 +00:00
|
|
|
// Dependencies: [2004, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-25 08:38:05 +00:00
|
|
|
// Module 8905 (doesOrientationMatchLockState)
|
2026-09-19 06:52:51 +00:00
|
|
|
import Constants from "Constants" /* 2004 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const OrientationLockState = Constants.OrientationLockState;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/activities/native/doesOrientationMatchLockState.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function doesOrientationMatchLockState(arg0, arg1) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let tmp = null == arg1;
|
|
|
|
|
if (!tmp) {
|
|
|
|
|
tmp = arg1 === OrientationLockState.UNLOCKED;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
let tmp3 = arg0;
|
|
|
|
|
if (!tmp) {
|
|
|
|
|
let tmp4 = !tmp3;
|
|
|
|
|
if (!tmp3) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp4 = arg1 === OrientationLockState.PORTRAIT;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp = tmp4;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
if (!tmp) {
|
|
|
|
|
if (tmp3) {
|
|
|
|
|
tmp3 = arg1 === OrientationLockState.LANDSCAPE;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp = tmp3;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
return tmp;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|