2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 8975
|
|
|
|
|
// Function ID: 8976
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: canLaunchFrame
|
2026-10-01 06:55:13 +00:00
|
|
|
// Dependencies: [1074, 8781, 8509, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: canLaunchFrame
|
|
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 8975 (canLaunchFrame)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1074 */;
|
2026-10-01 06:55:13 +00:00
|
|
|
import AppLauncherUtils from "AppLauncherUtils" /* 8781 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +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)) {
|
2026-10-01 06:55:13 +00:00
|
|
|
let hasApplicationFlagResult = tmp(8509).hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
|
|
|
|
|
const tmpResult = tmp(8509);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (hasApplicationFlagResult) {
|
2026-09-10 05:38:07 +00:00
|
|
|
hasApplicationFlagResult = tmpResult2.hasApplicationFlag(application, ApplicationFlags.CONTEXTLESS_ACTIVITY);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return hasApplicationFlagResult;
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
obj = AppLauncherUtils;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
};
|