decord/source/modules/headless_tasks/android/DismissCallAction.tsx

35 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 17247
// Function ID: 17248
2026-07-20 16:05:17 +00:00
// Name: promise
2026-08-24 06:08:38 +00:00
// Dependencies: [676, 17242, 698, 5047, 7197, 9774, 2]
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 17247 (promise)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const AnalyticEvents = ME.AnalyticEvents;
const result = set.fileFinishedImporting("modules/headless_tasks/android/DismissCallAction.tsx");
2026-07-20 16:05:17 +00:00
export default (arg0) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
2026-07-20 16:05:17 +00:00
return new Promise((arg0) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
closure_1_1(closure_1_2[1]).awaitStorage(() => {
2026-07-23 10:11:24 +00:00
if (lib.isFullscreenCallUI) {
2026-08-24 06:08:38 +00:00
let obj = closure_2_1(closure_2_2[2]);
2026-07-20 16:05:17 +00:00
obj = { action_type: "decline" };
2026-08-24 06:08:38 +00:00
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]);
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
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);
2026-07-23 10:11:24 +00:00
lib(true);
2026-07-20 16:05:17 +00:00
});
});
};