2026-08-15 05:55:55 +00:00
|
|
|
// Module ID: 16228
|
|
|
|
|
// Function ID: 16229
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: applyActivityOrientationLock
|
2026-08-15 05:55:55 +00:00
|
|
|
// Dependencies: [4481, 10964, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-15 05:55:55 +00:00
|
|
|
// Module 16228 (applyActivityOrientationLock)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { OrientationLockState } from "items3";
|
|
|
|
|
|
2026-08-12 06:57:52 +00:00
|
|
|
let result = require("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-15 05:55:55 +00:00
|
|
|
const result = require(10964) /* applyOrientationLock */.releaseOrientationLock({ unlockAfterRotatingToPreviousLock: true });
|
|
|
|
|
const obj3 = require(10964) /* applyOrientationLock */;
|
2026-08-12 06:57:52 +00:00
|
|
|
} else if (tmp.PORTRAIT === arg0) {
|
2026-08-15 05:55:55 +00:00
|
|
|
require(10964) /* applyOrientationLock */.applyOrientationLock("PORTRAIT");
|
|
|
|
|
const obj2 = require(10964) /* applyOrientationLock */;
|
2026-08-12 06:57:52 +00:00
|
|
|
} else if (tmp.LANDSCAPE === arg0) {
|
2026-08-15 05:55:55 +00:00
|
|
|
require(10964) /* applyOrientationLock */.applyOrientationLock("LANDSCAPE");
|
|
|
|
|
const obj = require(10964) /* applyOrientationLock */;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|