2026-10-03 08:58:59 +00:00
|
|
|
// Module ID: 17138
|
|
|
|
|
// Function ID: 17139
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: applyActivityOrientationLock
|
2026-10-03 08:58:59 +00:00
|
|
|
// Dependencies: [2011, 10964, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-03 08:58:59 +00:00
|
|
|
// Module 17138 (applyActivityOrientationLock)
|
|
|
|
|
import Constants from "Constants" /* 2011 */;
|
2026-10-01 06:55:13 +00:00
|
|
|
import applyOrientationLock from "applyOrientationLock" /* 10964 */;
|
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;
|
|
|
|
|
let result = size.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-10-03 08:58:59 +00:00
|
|
|
const obj3 = applyOrientationLock;
|
|
|
|
|
const result = obj3.releaseOrientationLock({ unlockAfterRotatingToPreviousLock: true });
|
|
|
|
|
} else if (OrientationLockState.PORTRAIT === arg0) {
|
|
|
|
|
const obj2 = applyOrientationLock;
|
|
|
|
|
obj2.applyOrientationLock("PORTRAIT");
|
|
|
|
|
} else if (OrientationLockState.LANDSCAPE === arg0) {
|
|
|
|
|
const obj = applyOrientationLock;
|
|
|
|
|
obj.applyOrientationLock("LANDSCAPE");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|