2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 16833
|
|
|
|
|
// Function ID: 16834
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: applyActivityOrientationLock
|
2026-09-28 16:18:32 +00:00
|
|
|
// Dependencies: [2005, 10758, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 16833 (applyActivityOrientationLock)
|
|
|
|
|
import Constants from "Constants" /* 2005 */;
|
|
|
|
|
import applyOrientationLock from "applyOrientationLock" /* 10758 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const OrientationLockState = Constants.OrientationLockState;
|
|
|
|
|
let result = size.fileFinishedImporting("modules/activities/native/applyActivityOrientationLock.tsx");
|
|
|
|
|
|
|
|
|
|
export default function applyActivityOrientationLock(arg0) {
|
|
|
|
|
if (OrientationLockState.UNLOCKED === arg0) {
|
|
|
|
|
const result = applyOrientationLock.releaseOrientationLock({ unlockAfterRotatingToPreviousLock: true });
|
|
|
|
|
} else if (tmp.PORTRAIT === arg0) {
|
|
|
|
|
applyOrientationLock.applyOrientationLock("PORTRAIT");
|
|
|
|
|
} else if (tmp.LANDSCAPE === arg0) {
|
|
|
|
|
applyOrientationLock.applyOrientationLock("LANDSCAPE");
|
|
|
|
|
}
|
|
|
|
|
};
|