decord/beta/source/modules/frames/utils/canLaunchFrame.tsx
github-actions 84d017ff78 chore: update source for beta 348.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 16:18:32 +00:00

28 lines
993 B
TypeScript

// Module ID: 8783
// Function ID: 8784
// Name: canLaunchFrame
// Dependencies: [1074, 8590, 8321, 2]
// Exports: canLaunchFrame
// Module 8783 (canLaunchFrame)
import Constants from "Constants" /* 1074 */;
import AppLauncherUtils from "AppLauncherUtils" /* 8590 */;
import size from "module_2" /* 2 */;
const ApplicationFlags = Constants.ApplicationFlags;
const result = size.fileFinishedImporting("modules/frames/utils/canLaunchFrame.tsx");
export const canLaunchFrame = function canLaunchFrame(application) {
if (null != application) {
if (obj.isRealApplication(application)) {
let hasApplicationFlagResult = tmp(8321).hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
const tmpResult = tmp(8321);
if (hasApplicationFlagResult) {
hasApplicationFlagResult = tmpResult2.hasApplicationFlag(application, ApplicationFlags.CONTEXTLESS_ACTIVITY);
}
return hasApplicationFlagResult;
}
obj = AppLauncherUtils;
}
return false;
};