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

29 lines
993 B
TypeScript
Raw Normal View History

// Module ID: 9597
// Function ID: 9598
2026-07-20 16:05:17 +00:00
// Name: canLaunchFrame
// Dependencies: [1074, 9379, 8946, 2]
2026-07-20 16:05:17 +00:00
// Exports: canLaunchFrame
// Module 9597 (canLaunchFrame)
import Constants from "Constants" /* 1074 */;
import AppLauncherUtils from "AppLauncherUtils" /* 9379 */;
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(8946).hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
const tmpResult = tmp(8946);
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;
};