decord/source/modules/quests/native/ATTModal/ATTManager.android.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

40 lines
1.4 KiB
TypeScript

// Module ID: 17349
// Function ID: 17350
// Name: ATTManager
// Dependencies: [7132, 7746, 1232, 2]
// Module 17349 (ATTManager)
import SentryUtilsDefault from "SentryUtils" /* 1232 */;
import AdUserActionCreators from "AdUserActionCreators" /* 7746 */;
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7132 */;
require = fn;
class ATTManager extends tmp2 {
constructor() {
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
applyArgumentsResult._openATTPrePromptOrFlowTimeoutId = null;
applyArgumentsResult.actions = { POST_CONNECTION_OPEN: applyArgumentsResult.onPostConnectionOpen };
return applyArgumentsResult;
}
}
const prototype = ATTManager.prototype;
prototype["onPostConnectionOpen"] = function onPostConnectionOpen() {
try {
const adUser = AdUserActionCreators.fetchAdUser("post_connection_open");
} catch (tmp4) {
SentryUtilsDefault.captureException(tmp4);
}
};
prototype["_terminate"] = function _terminate() {
const self = this;
if (null != this._openATTPrePromptOrFlowTimeoutId) {
const _clearTimeout = clearTimeout;
clearTimeout(self._openATTPrePromptOrFlowTimeoutId);
self._openATTPrePromptOrFlowTimeoutId = null;
}
};
const aTTManager = new ATTManager();
const size = fn(2);
const result = size.fileFinishedImporting("modules/quests/native/ATTModal/ATTManager.android.tsx");
export default aTTManager;