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

29 lines
993 B
TypeScript
Raw Normal View History

// Module ID: 9622
// Function ID: 9623
// Name: canLaunchFrame
// Dependencies: [1078, 9433, 9165, 2]
// Exports: canLaunchFrame
// Module 9622 (canLaunchFrame)
import Constants from "Constants" /* 1078 */;
import AppLauncherUtils from "AppLauncherUtils" /* 9433 */;
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(9165).hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
const tmpResult = tmp(9165);
if (hasApplicationFlagResult) {
hasApplicationFlagResult = tmpResult2.hasApplicationFlag(application, ApplicationFlags.CONTEXTLESS_ACTIVITY);
}
return hasApplicationFlagResult;
}
obj = AppLauncherUtils;
}
return false;
};