decord/source/modules/activities/native/applyActivityOrientationLock.tsx

26 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-10 06:55:34 +00:00
// Module ID: 16084
// Function ID: 16085
2026-07-20 16:05:17 +00:00
// Name: applyActivityOrientationLock
2026-08-10 06:55:34 +00:00
// Dependencies: [4328, 9744, 8895, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-10 06:55:34 +00:00
// Module 16084 (applyActivityOrientationLock)
2026-07-23 10:11:24 +00:00
import { OrientationLockState } from "items3";
const result = require("handleOrientationChange").fileFinishedImporting("modules/activities/native/applyActivityOrientationLock.tsx");
2026-07-20 16:05:17 +00:00
export default function applyActivityOrientationLock(arg0) {
2026-08-10 06:55:34 +00:00
if (importDefault(9744)()) {
2026-07-20 16:05:17 +00:00
if (OrientationLockState.UNLOCKED === arg0) {
2026-08-08 06:10:11 +00:00
require(8895) /* handleOrientationChange */.unlockOrientation({ unlockAfterRotatingToPreviousLock: true });
const obj3 = require(8895) /* handleOrientationChange */;
} else if (tmp3.PORTRAIT === arg0) {
require(8895) /* handleOrientationChange */.lockOrientation("PORTRAIT", true);
const obj2 = require(8895) /* handleOrientationChange */;
} else if (tmp3.LANDSCAPE === arg0) {
require(8895) /* handleOrientationChange */.lockOrientation("LANDSCAPE", true);
const obj = require(8895) /* handleOrientationChange */;
2026-07-20 16:05:17 +00:00
}
}
};