26 lines
1,021 B
TypeScript
26 lines
1,021 B
TypeScript
// Module ID: 16590
|
|
// Function ID: 16591
|
|
// Name: applyActivityOrientationLock
|
|
// Dependencies: [4506, 11356, 2]
|
|
// Exports: default
|
|
|
|
// Module 16590 (applyActivityOrientationLock)
|
|
import set from "set" /* 2 */;
|
|
import items3 from "items3" /* 4506 */;
|
|
import applyOrientationLock from "applyOrientationLock" /* 11356 */;
|
|
|
|
const OrientationLockState = items3.OrientationLockState;
|
|
let result = set.fileFinishedImporting("modules/activities/native/applyActivityOrientationLock.tsx");
|
|
|
|
export default function applyActivityOrientationLock(arg0) {
|
|
if (OrientationLockState.UNLOCKED === arg0) {
|
|
const result = applyOrientationLock.releaseOrientationLock({ unlockAfterRotatingToPreviousLock: true });
|
|
const obj3 = applyOrientationLock;
|
|
} else if (tmp.PORTRAIT === arg0) {
|
|
applyOrientationLock.applyOrientationLock("PORTRAIT");
|
|
const obj2 = applyOrientationLock;
|
|
} else if (tmp.LANDSCAPE === arg0) {
|
|
applyOrientationLock.applyOrientationLock("LANDSCAPE");
|
|
const obj = applyOrientationLock;
|
|
}
|
|
};
|