2026-09-30 07:29:52 +00:00
|
|
|
// Module ID: 17055
|
|
|
|
|
// Function ID: 17056
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: applyActivityOrientationLock
|
2026-09-30 07:29:52 +00:00
|
|
|
// Dependencies: [2005, 10962, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-30 07:29:52 +00:00
|
|
|
// Module 17055 (applyActivityOrientationLock)
|
2026-09-26 08:31:33 +00:00
|
|
|
import Constants from "Constants" /* 2005 */;
|
2026-09-30 07:29:52 +00:00
|
|
|
import applyOrientationLock from "applyOrientationLock" /* 10962 */;
|
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-08-24 06:08:38 +00:00
|
|
|
const result = applyOrientationLock.releaseOrientationLock({ unlockAfterRotatingToPreviousLock: true });
|
2026-08-12 06:57:52 +00:00
|
|
|
} else if (tmp.PORTRAIT === arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
applyOrientationLock.applyOrientationLock("PORTRAIT");
|
2026-08-12 06:57:52 +00:00
|
|
|
} else if (tmp.LANDSCAPE === arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
applyOrientationLock.applyOrientationLock("LANDSCAPE");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|