decord/alpha/source/modules/frames/utils/canLaunchFrame.tsx

29 lines
993 B
TypeScript
Raw Normal View History

// Module ID: 8975
// Function ID: 8976
2026-07-20 16:05:17 +00:00
// Name: canLaunchFrame
// Dependencies: [1074, 8781, 8509, 2]
2026-07-20 16:05:17 +00:00
// Exports: canLaunchFrame
// Module 8975 (canLaunchFrame)
import Constants from "Constants" /* 1074 */;
import AppLauncherUtils from "AppLauncherUtils" /* 8781 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const ApplicationFlags = Constants.ApplicationFlags;
const result = size.fileFinishedImporting("modules/frames/utils/canLaunchFrame.tsx");
2026-07-20 16:05:17 +00:00
export const canLaunchFrame = function canLaunchFrame(application) {
if (null != application) {
if (obj.isRealApplication(application)) {
let hasApplicationFlagResult = tmp(8509).hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
const tmpResult = tmp(8509);
2026-07-20 16:05:17 +00:00
if (hasApplicationFlagResult) {
hasApplicationFlagResult = tmpResult2.hasApplicationFlag(application, ApplicationFlags.CONTEXTLESS_ACTIVITY);
2026-07-20 16:05:17 +00:00
}
return hasApplicationFlagResult;
}
obj = AppLauncherUtils;
2026-07-20 16:05:17 +00:00
}
return false;
};