2026-08-05 07:35:12 +00:00
|
|
|
// Module ID: 15934
|
|
|
|
|
// Function ID: 15935
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: applyActivityOrientationLock
|
2026-08-05 07:35:12 +00:00
|
|
|
// Dependencies: [4280, 10601, 8789, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-05 07:35:12 +00:00
|
|
|
// Module 15934 (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) {
|
|
|
|
|
if (!obj.getIsTabletActivitySurface()) {
|
|
|
|
|
if (OrientationLockState.UNLOCKED === arg0) {
|
2026-08-05 07:35:12 +00:00
|
|
|
let tmpResult = tmp(8789);
|
2026-07-29 08:29:29 +00:00
|
|
|
tmpResult.unlockOrientation({ unlockAfterRotatingToPreviousLock: true });
|
|
|
|
|
} else if (tmp4.PORTRAIT === arg0) {
|
2026-08-05 07:35:12 +00:00
|
|
|
tmpResult = tmp(8789);
|
2026-07-29 08:29:29 +00:00
|
|
|
tmpResult.lockOrientation("PORTRAIT", true);
|
|
|
|
|
} else if (tmp4.LANDSCAPE === arg0) {
|
2026-08-05 07:35:12 +00:00
|
|
|
tmp(8789).lockOrientation("LANDSCAPE", true);
|
|
|
|
|
const tmpResult1 = tmp(8789);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|