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

35 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 17753
// Function ID: 17754
2026-07-20 16:05:17 +00:00
// Name: promise
2026-09-02 09:53:35 +00:00
// Dependencies: [673, 17748, 695, 4700, 5981, 9893, 2]
2026-07-20 16:05:17 +00:00
2026-09-02 09:53:35 +00:00
// Module 17753 (promise)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import ME from "ME" /* 673 */;
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
});
});
};