decord/source/modules/headless_tasks/android/DismissCallAction.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

34 lines
1.3 KiB
TypeScript

// Module ID: 17857
// Function ID: 17858
// Name: promise
// Dependencies: [673, 17852, 695, 4708, 7122, 9111, 2]
// Module 17857 (promise)
import set from "set" /* 2 */;
import ME from "ME" /* 673 */;
const AnalyticEvents = ME.AnalyticEvents;
const result = set.fileFinishedImporting("modules/headless_tasks/android/DismissCallAction.tsx");
export default (arg0) => {
closure_0 = arg0;
return new Promise((arg0) => {
closure_0 = arg0;
closure_1_1(closure_1_2[1]).awaitStorage(() => {
if (lib.isFullscreenCallUI) {
let obj = closure_2_1(closure_2_2[2]);
obj = { action_type: "decline" };
const merged = Object.assign(lib(closure_2_2[3]).collectChannelAnalyticsMetadataFromId(tmp.channelId));
obj.track(closure_2_3.CALLKIT_CLICKED, obj);
const obj3 = lib(closure_2_2[3]);
}
obj = { location: closure_2_1(closure_2_2[4]).PUSH_NOTIFICATION, guild_id: tmp.guildId, ringer_user_id: tmp.userId };
const obj4 = closure_2_1(closure_2_2[2]);
const merged1 = Object.assign(lib(closure_2_2[3]).collectChannelAnalyticsMetadataFromId(tmp.channelId));
obj4.track(closure_2_3.RING_CALL_DECLINED, obj);
const obj6 = lib(closure_2_2[3]);
closure_2_1(closure_2_2[5]).stopRinging(lib.channelId);
lib(true);
});
});
};