2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 16357
|
|
|
|
|
// Function ID: 16358
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: applyActivityOrientationLock
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [4408, 11343, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 16357 (applyActivityOrientationLock)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import items3 from "items3" /* 4408 */;
|
|
|
|
|
import applyOrientationLock from "applyOrientationLock" /* 11343 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const OrientationLockState = items3.OrientationLockState;
|
|
|
|
|
let result = set.fileFinishedImporting("modules/activities/native/applyActivityOrientationLock.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function applyActivityOrientationLock(arg0) {
|
2026-08-12 06:57:52 +00:00
|
|
|
if (OrientationLockState.UNLOCKED === arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = applyOrientationLock.releaseOrientationLock({ unlockAfterRotatingToPreviousLock: true });
|
|
|
|
|
const obj3 = applyOrientationLock;
|
2026-08-12 06:57:52 +00:00
|
|
|
} else if (tmp.PORTRAIT === arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
applyOrientationLock.applyOrientationLock("PORTRAIT");
|
|
|
|
|
const obj2 = applyOrientationLock;
|
2026-08-12 06:57:52 +00:00
|
|
|
} else if (tmp.LANDSCAPE === arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
applyOrientationLock.applyOrientationLock("LANDSCAPE");
|
|
|
|
|
const obj = applyOrientationLock;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|