导航菜单

页面标题

页面副标题

Bhakti v5.4.0 - C1373n.java 源代码

正在查看: Bhakti v5.4.0 应用的 C1373n.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package T8;

import L8.k0;
import L8.o0;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.text.Html;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx.credentials.playservices.controllers.BeginSignIn.CredentialProviderBeginSignInController$$ExternalSyntheticOutline0;
import androidx.fragment.app.DialogInterfaceOnCancelListenerC2447y;
import androidx.fragment.app.FragmentActivity;
import com.facebook.FacebookActivity;
import hn.gqQ.FxGMxMBbSc;
import in.juspay.hyper.constants.LogSubCategory;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.EnumMap;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import lk.JZ.XbbGto;
import org.json.JSONException;
import org.json.JSONObject;
import p8.C6226A;
import p8.C6228b;
import p8.C6245t;
import p8.EnumC6233g;

@Metadata
public class C1373n extends DialogInterfaceOnCancelListenerC2447y {
    public static final C1369j Companion = new C1369j();
    private static final String DEVICE_LOGIN_ENDPOINT = "device/login";
    private static final String DEVICE_LOGIN_STATUS_ENDPOINT = "device/login_status";
    private static final int LOGIN_ERROR_SUBCODE_AUTHORIZATION_DECLINED = 1349173;
    private static final int LOGIN_ERROR_SUBCODE_AUTHORIZATION_PENDING = 1349174;
    private static final int LOGIN_ERROR_SUBCODE_CODE_EXPIRED = 1349152;
    private static final int LOGIN_ERROR_SUBCODE_EXCESSIVE_POLLING = 1349172;
    private static final String REQUEST_STATE_KEY = "request_state";
    private final AtomicBoolean completed = new AtomicBoolean();
    private TextView confirmationCode;
    private volatile p8.J currentGraphRequestPoll;
    private volatile C1371l currentRequestState;
    private C1374o deviceAuthMethodHandler;
    private TextView instructions;
    private boolean isBeingDestroyed;
    private boolean isRetry;
    private View progressBar;
    private C1381w request;
    private volatile ScheduledFuture<?> scheduledPoll;

    public static final void _get_pollRequest_$lambda$5(C1373n this$0, p8.L response) {
        C6245t c6245t;
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        Intrinsics.checkNotNullParameter(response, "response");
        if (this$0.completed.get()) {
            return;
        }
        p8.x xVar = response.f65753c;
        if (xVar == null) {
            try {
                JSONObject jSONObject = response.f65752b;
                if (jSONObject == null) {
                    jSONObject = new JSONObject();
                }
                String string = jSONObject.getString("access_token");
                Intrinsics.checkNotNullExpressionValue(string, "resultObject.getString(\"access_token\")");
                this$0.onSuccess(string, jSONObject.getLong("expires_in"), Long.valueOf(jSONObject.optLong("data_access_expiration_time")));
                return;
            } catch (JSONException e4) {
                this$0.onError(new C6245t((Throwable) e4));
                return;
            }
        }
        int i10 = xVar.f65857c;
        if (i10 == LOGIN_ERROR_SUBCODE_AUTHORIZATION_PENDING || i10 == LOGIN_ERROR_SUBCODE_EXCESSIVE_POLLING) {
            this$0.schedulePoll();
            return;
        }
        if (i10 != LOGIN_ERROR_SUBCODE_CODE_EXPIRED) {
            if (i10 == LOGIN_ERROR_SUBCODE_AUTHORIZATION_DECLINED) {
                this$0.onCancel();
                return;
            }
            if (xVar == null || (c6245t = xVar.f65863i) == null) {
                c6245t = new C6245t();
            }
            this$0.onError(c6245t);
            return;
        }
        C1371l c1371l = this$0.currentRequestState;
        if (c1371l != null) {
            J8.b.a(c1371l.f20826b);
        }
        C1381w c1381w = this$0.request;
        if (c1381w != null) {
            this$0.startLogin(c1381w);
        } else {
            this$0.onCancel();
        }
    }

    private final void completeLogin(String userId, C1370k c1370k, String accessToken, Date date, Date date2) {
        C1374o c1374o = this.deviceAuthMethodHandler;
        if (c1374o != null) {
            String applicationId = C6226A.b();
            ArrayList arrayList = c1370k.f20822a;
            ArrayList arrayList2 = c1370k.f20823b;
            ArrayList arrayList3 = c1370k.f20824c;
            EnumC6233g enumC6233g = EnumC6233g.DEVICE_AUTH;
            Intrinsics.checkNotNullParameter(accessToken, "accessToken");
            Intrinsics.checkNotNullParameter(applicationId, "applicationId");
            Intrinsics.checkNotNullParameter(userId, "userId");
            C6228b token = new C6228b(accessToken, applicationId, userId, arrayList, arrayList2, arrayList3, enumC6233g, date, null, date2);
            C1381w c1381w = c1374o.d().f20883g;
            Intrinsics.checkNotNullParameter(token, "token");
            c1374o.d().d(new y(c1381w, EnumC1382x.SUCCESS, token, null, null));
        }
        Dialog dialog = getDialog();
        if (dialog != null) {
            dialog.dismiss();
        }
    }

    private final p8.I getPollRequest() {
        Bundle bundle = new Bundle();
        C1371l c1371l = this.currentRequestState;
        bundle.putString("code", c1371l != null ? c1371l.f20827c : null);
        bundle.putString("access_token", getApplicationAccessToken());
        String str = p8.I.f65731j;
        return new p8.I(null, DEVICE_LOGIN_STATUS_ENDPOINT, bundle, p8.M.POST, new C1368i(this, 0));
    }

    public static final void initializeContentView$lambda$2(C1373n this$0, View view) {
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        this$0.onCancel();
    }

    private final void onSuccess(String str, long j10, Long l10) {
        Date date;
        Bundle m10 = CredentialProviderBeginSignInController$$ExternalSyntheticOutline0.m("fields", "id,permissions,name");
        Date date2 = null;
        if (j10 != 0) {
            date = new Date((j10 * 1000) + new Date().getTime());
        } else {
            date = null;
        }
        if ((l10 == null || l10.longValue() != 0) && l10 != null) {
            date2 = new Date(l10.longValue() * 1000);
        }
        C6228b c6228b = new C6228b(str, C6226A.b(), "0", null, null, null, null, date, null, date2);
        String str2 = p8.I.f65731j;
        p8.I L10 = Ai.p.L(c6228b, "me", new C1367h(this, str, date, date2, 0));
        L10.k(p8.M.GET);
        Intrinsics.checkNotNullParameter(m10, "<set-?>");
        L10.f65737d = m10;
        L10.d();
    }

    public static final void onSuccess$lambda$10(C1373n this$0, String accessToken, Date date, Date date2, p8.L response) {
        EnumSet enumSet;
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        Intrinsics.checkNotNullParameter(accessToken, "$accessToken");
        Intrinsics.checkNotNullParameter(response, "response");
        if (this$0.completed.get()) {
            return;
        }
        p8.x xVar = response.f65753c;
        if (xVar != null) {
            C6245t c6245t = xVar.f65863i;
            if (c6245t == null) {
                c6245t = new C6245t();
            }
            this$0.onError(c6245t);
            return;
        }
        try {
            JSONObject jSONObject = response.f65752b;
            if (jSONObject == null) {
                jSONObject = new JSONObject();
            }
            String string = jSONObject.getString("id");
            Intrinsics.checkNotNullExpressionValue(string, "jsonObject.getString(\"id\")");
            C1370k a2 = C1369j.a(Companion, jSONObject);
            String string2 = jSONObject.getString("name");
            Intrinsics.checkNotNullExpressionValue(string2, "jsonObject.getString(\"name\")");
            C1371l c1371l = this$0.currentRequestState;
            if (c1371l != null) {
                J8.b.a(c1371l.f20826b);
            }
            L8.G b2 = L8.J.b(C6226A.b());
            if (!Intrinsics.c((b2 == null || (enumSet = b2.f12964e) == null) ? null : Boolean.valueOf(enumSet.contains(k0.RequireConfirm)), Boolean.TRUE) || this$0.isRetry) {
                this$0.completeLogin(string, a2, accessToken, date, date2);
            } else {
                this$0.isRetry = true;
                this$0.presentConfirmation(string, a2, accessToken, string2, date, date2);
            }
        } catch (JSONException e4) {
            this$0.onError(new C6245t((Throwable) e4));
        }
    }

    private final void poll() {
        C1371l c1371l = this.currentRequestState;
        if (c1371l != null) {
            c1371l.f20829e = new Date().getTime();
        }
        this.currentGraphRequestPoll = getPollRequest().d();
    }

    private final void presentConfirmation(final String str, final C1370k c1370k, final String str2, String str3, final Date date, final Date date2) {
        String string = getResources().getString(I8.e.com_facebook_smart_login_confirmation_title);
        Intrinsics.checkNotNullExpressionValue(string, "resources.getString(R.st…login_confirmation_title)");
        String string2 = getResources().getString(I8.e.com_facebook_smart_login_confirmation_continue_as);
        Intrinsics.checkNotNullExpressionValue(string2, "resources.getString(R.st…confirmation_continue_as)");
        String string3 = getResources().getString(I8.e.com_facebook_smart_login_confirmation_cancel);
        Intrinsics.checkNotNullExpressionValue(string3, "resources.getString(R.st…ogin_confirmation_cancel)");
        String u10 = Ai.o.u(new Object[]{str3}, 1, string2, "format(format, *args)");
        AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
        builder.setMessage(string).setCancelable(true).setNegativeButton(u10, new DialogInterface.OnClickListener() {
            @Override
            public final void onClick(DialogInterface dialogInterface, int i10) {
                C1373n.presentConfirmation$lambda$6(C1373n.this, str, c1370k, str2, date, date2, dialogInterface, i10);
            }
        }).setPositiveButton(string3, new DialogInterfaceOnClickListenerC1366g(this, 0));
        builder.create().show();
    }

    public static final void presentConfirmation$lambda$6(C1373n this$0, String userId, C1370k permissions, String accessToken, Date date, Date date2, DialogInterface dialogInterface, int i10) {
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        Intrinsics.checkNotNullParameter(userId, "$userId");
        Intrinsics.checkNotNullParameter(permissions, "$permissions");
        Intrinsics.checkNotNullParameter(accessToken, "$accessToken");
        this$0.completeLogin(userId, permissions, accessToken, date, date2);
    }

    public static final void presentConfirmation$lambda$8(C1373n this$0, DialogInterface dialogInterface, int i10) {
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        View initializeContentView = this$0.initializeContentView(false);
        Dialog dialog = this$0.getDialog();
        if (dialog != null) {
            dialog.setContentView(initializeContentView);
        }
        C1381w c1381w = this$0.request;
        if (c1381w != null) {
            this$0.startLogin(c1381w);
        }
    }

    public static final void schedulePoll$lambda$3(C1373n this$0) {
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        this$0.poll();
    }

    private final void setCurrentRequestState(C1371l c1371l) {
        Bitmap createBitmap;
        TextView textView;
        boolean c10;
        int i10 = 8;
        this.currentRequestState = c1371l;
        TextView textView2 = this.confirmationCode;
        if (textView2 == null) {
            Intrinsics.m("confirmationCode");
            throw null;
        }
        textView2.setText(c1371l.f20826b);
        String str = c1371l.f20825a;
        J8.b bVar = J8.b.f11216a;
        if (!Q8.a.b(J8.b.class)) {
            try {
                EnumMap enumMap = new EnumMap(Rd.b.class);
                enumMap.put((EnumMap) Rd.b.MARGIN, (Rd.b) 2);
                try {
                    Ud.b o10 = new Wg.a(i10).o(str, Rd.a.QR_CODE, enumMap);
                    int i11 = o10.f21532b;
                    int i12 = o10.f21531a;
                    int[] iArr = new int[i11 * i12];
                    for (int i13 = 0; i13 < i11; i13++) {
                        int i14 = i13 * i12;
                        for (int i15 = 0; i15 < i12; i15++) {
                            iArr[i14 + i15] = o10.a(i15, i13) ? -16777216 : -1;
                        }
                    }
                    createBitmap = Bitmap.createBitmap(i12, i11, Bitmap.Config.ARGB_8888);
                    try {
                        createBitmap.setPixels(iArr, 0, i12, 0, 0, i12, i11);
                    } catch (Rd.g unused) {
                    }
                } catch (Rd.g unused2) {
                }
            } catch (Throwable th2) {
                Q8.a.a(J8.b.class, th2);
            }
            BitmapDrawable bitmapDrawable = new BitmapDrawable(getResources(), createBitmap);
            textView = this.instructions;
            if (textView != null) {
                Intrinsics.m("instructions");
                throw null;
            }
            textView.setCompoundDrawablesWithIntrinsicBounds((Drawable) null, bitmapDrawable, (Drawable) null, (Drawable) null);
            TextView textView3 = this.confirmationCode;
            if (textView3 == null) {
                Intrinsics.m("confirmationCode");
                throw null;
            }
            textView3.setVisibility(0);
            View view = this.progressBar;
            if (view == null) {
                Intrinsics.m("progressBar");
                throw null;
            }
            view.setVisibility(8);
            if (!this.isRetry) {
                String str2 = c1371l.f20826b;
                if (!Q8.a.b(J8.b.class)) {
                    try {
                    } catch (Throwable th3) {
                        Q8.a.a(J8.b.class, th3);
                    }
                    if (J8.b.b()) {
                        c10 = J8.b.f11216a.c(str2);
                        if (c10) {
                            q8.m loggerImpl = new q8.m(getContext(), (String) null);
                            Intrinsics.checkNotNullParameter(loggerImpl, "loggerImpl");
                            C6226A c6226a = C6226A.f65706a;
                            if (p8.U.c()) {
                                loggerImpl.h(null, "fb_smart_login_service");
                            }
                        }
                    }
                }
                c10 = false;
                if (c10) {
                }
            }
            if (c1371l.f20829e != 0 ? (new Date().getTime() - c1371l.f20829e) - (c1371l.f20828d * 1000) < 0 : false) {
                schedulePoll();
                return;
            } else {
                poll();
                return;
            }
        }
        createBitmap = null;
        BitmapDrawable bitmapDrawable2 = new BitmapDrawable(getResources(), createBitmap);
        textView = this.instructions;
        if (textView != null) {
        }
    }

    public static final void startLogin$lambda$1(C1373n this$0, p8.L response) {
        C6245t c6245t;
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        Intrinsics.checkNotNullParameter(response, "response");
        if (this$0.isBeingDestroyed) {
            return;
        }
        p8.x xVar = response.f65753c;
        if (xVar != null) {
            if (xVar == null || (c6245t = xVar.f65863i) == null) {
                c6245t = new C6245t();
            }
            this$0.onError(c6245t);
            return;
        }
        JSONObject jSONObject = response.f65752b;
        if (jSONObject == null) {
            jSONObject = new JSONObject();
        }
        C1371l c1371l = new C1371l();
        try {
            String string = jSONObject.getString(XbbGto.TDhQNpqzqjG);
            c1371l.f20826b = string;
            String format = String.format(Locale.ENGLISH, "https://facebook.com/device?user_code=%1$s&qr=1", Arrays.copyOf(new Object[]{string}, 1));
            Intrinsics.checkNotNullExpressionValue(format, "format(locale, format, *args)");
            c1371l.f20825a = format;
            c1371l.f20827c = jSONObject.getString("code");
            c1371l.f20828d = jSONObject.getLong("interval");
            this$0.setCurrentRequestState(c1371l);
        } catch (JSONException e4) {
            this$0.onError(new C6245t((Throwable) e4));
        }
    }

    public Map<String, String> additionalDeviceInfo() {
        return null;
    }

    public String getApplicationAccessToken() {
        return C6226A.b() + '|' + C6226A.c();
    }

    public int getLayoutResId(boolean z10) {
        return z10 ? I8.d.com_facebook_smart_device_dialog_fragment : I8.d.com_facebook_device_auth_dialog_fragment;
    }

    public View initializeContentView(boolean z10) {
        LayoutInflater layoutInflater = requireActivity().getLayoutInflater();
        Intrinsics.checkNotNullExpressionValue(layoutInflater, "requireActivity().layoutInflater");
        View inflate = layoutInflater.inflate(getLayoutResId(z10), (ViewGroup) null);
        Intrinsics.checkNotNullExpressionValue(inflate, "inflater.inflate(getLayo…esId(isSmartLogin), null)");
        View findViewById = inflate.findViewById(I8.c.progress_bar);
        Intrinsics.checkNotNullExpressionValue(findViewById, "view.findViewById(R.id.progress_bar)");
        this.progressBar = findViewById;
        View findViewById2 = inflate.findViewById(I8.c.confirmation_code);
        Intrinsics.f(findViewById2, "null cannot be cast to non-null type android.widget.TextView");
        this.confirmationCode = (TextView) findViewById2;
        View findViewById3 = inflate.findViewById(I8.c.cancel_button);
        Intrinsics.f(findViewById3, "null cannot be cast to non-null type android.widget.Button");
        ((Button) findViewById3).setOnClickListener(new Gj.a(this, 9));
        View findViewById4 = inflate.findViewById(I8.c.com_facebook_device_auth_instructions);
        Intrinsics.f(findViewById4, "null cannot be cast to non-null type android.widget.TextView");
        TextView textView = (TextView) findViewById4;
        this.instructions = textView;
        textView.setText(Html.fromHtml(getString(I8.e.com_facebook_device_auth_instructions)));
        return inflate;
    }

    public boolean onBackButtonPressed() {
        return true;
    }

    public void onCancel() {
        if (this.completed.compareAndSet(false, true)) {
            C1371l c1371l = this.currentRequestState;
            if (c1371l != null) {
                J8.b.a(c1371l.f20826b);
            }
            C1374o c1374o = this.deviceAuthMethodHandler;
            if (c1374o != null) {
                c1374o.d().d(new y(c1374o.d().f20883g, EnumC1382x.CANCEL, null, "User canceled log in.", null));
            }
            Dialog dialog = getDialog();
            if (dialog != null) {
                dialog.dismiss();
            }
        }
    }

    @Override
    public Dialog onCreateDialog(Bundle bundle) {
        DialogC1372m dialogC1372m = new DialogC1372m(this, requireActivity(), I8.f.com_facebook_auth_dialog);
        dialogC1372m.setContentView(initializeContentView(J8.b.b() && !this.isRetry));
        return dialogC1372m;
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup viewGroup, Bundle bundle) {
        C1371l c1371l;
        z loginClient;
        Intrinsics.checkNotNullParameter(inflater, "inflater");
        View onCreateView = super.onCreateView(inflater, viewGroup, bundle);
        FragmentActivity requireActivity = requireActivity();
        Intrinsics.f(requireActivity, "null cannot be cast to non-null type com.facebook.FacebookActivity");
        B b2 = (B) ((FacebookActivity) requireActivity).getCurrentFragment();
        this.deviceAuthMethodHandler = (C1374o) ((b2 == null || (loginClient = b2.getLoginClient()) == null) ? null : loginClient.f());
        if (bundle != null && (c1371l = (C1371l) bundle.getParcelable(REQUEST_STATE_KEY)) != null) {
            setCurrentRequestState(c1371l);
        }
        return onCreateView;
    }

    @Override
    public void onDestroyView() {
        this.isBeingDestroyed = true;
        this.completed.set(true);
        super.onDestroyView();
        p8.J j10 = this.currentGraphRequestPoll;
        if (j10 != null) {
            j10.cancel(true);
        }
        ScheduledFuture<?> scheduledFuture = this.scheduledPoll;
        if (scheduledFuture != null) {
            scheduledFuture.cancel(true);
        }
    }

    @Override
    public void onDismiss(DialogInterface dialog) {
        Intrinsics.checkNotNullParameter(dialog, "dialog");
        super.onDismiss(dialog);
        if (this.isBeingDestroyed) {
            return;
        }
        onCancel();
    }

    public void onError(C6245t ex) {
        Intrinsics.checkNotNullParameter(ex, "ex");
        if (this.completed.compareAndSet(false, true)) {
            C1371l c1371l = this.currentRequestState;
            if (c1371l != null) {
                J8.b.a(c1371l.f20826b);
            }
            C1374o c1374o = this.deviceAuthMethodHandler;
            if (c1374o != null) {
                Intrinsics.checkNotNullParameter(ex, "ex");
                C1381w c1381w = c1374o.d().f20883g;
                String message = ex.getMessage();
                ArrayList arrayList = new ArrayList();
                if (message != null) {
                    arrayList.add(message);
                }
                c1374o.d().d(new y(c1381w, EnumC1382x.ERROR, null, TextUtils.join(": ", arrayList), null));
            }
            Dialog dialog = getDialog();
            if (dialog != null) {
                dialog.dismiss();
            }
        }
    }

    @Override
    public void onSaveInstanceState(Bundle outState) {
        Intrinsics.checkNotNullParameter(outState, "outState");
        super.onSaveInstanceState(outState);
        if (this.currentRequestState != null) {
            outState.putParcelable(REQUEST_STATE_KEY, this.currentRequestState);
        }
    }

    public void startLogin(C1381w request) {
        Intrinsics.checkNotNullParameter(request, "request");
        this.request = request;
        Bundle bundle = new Bundle();
        bundle.putString("scope", TextUtils.join(",", request.f20853b));
        o0.e0(bundle, "redirect_uri", request.f20858g);
        o0.e0(bundle, "target_user_id", request.f20860i);
        bundle.putString("access_token", getApplicationAccessToken());
        Map<String, String> additionalDeviceInfo = additionalDeviceInfo();
        String str = null;
        HashMap m10 = additionalDeviceInfo != null ? kotlin.collections.S.m(additionalDeviceInfo) : null;
        J8.b bVar = J8.b.f11216a;
        if (!Q8.a.b(J8.b.class)) {
            if (m10 == null) {
                try {
                    m10 = new HashMap();
                } catch (Throwable th2) {
                    Q8.a.a(J8.b.class, th2);
                }
            }
            String DEVICE = Build.DEVICE;
            Intrinsics.checkNotNullExpressionValue(DEVICE, "DEVICE");
            m10.put(LogSubCategory.Context.DEVICE, DEVICE);
            String MODEL = Build.MODEL;
            Intrinsics.checkNotNullExpressionValue(MODEL, "MODEL");
            m10.put("model", MODEL);
            String jSONObject = new JSONObject(m10).toString();
            Intrinsics.checkNotNullExpressionValue(jSONObject, "JSONObject(deviceInfo as Map<*, *>).toString()");
            str = jSONObject;
        }
        bundle.putString("device_info", str);
        String str2 = p8.I.f65731j;
        new p8.I(null, DEVICE_LOGIN_ENDPOINT, bundle, p8.M.POST, new C1368i(this, 1)).d();
    }

    private final void schedulePoll() {
        ScheduledThreadPoolExecutor scheduledThreadPoolExecutor;
        C1371l c1371l = this.currentRequestState;
        Long valueOf = c1371l != null ? Long.valueOf(c1371l.f20828d) : null;
        if (valueOf != null) {
            synchronized (C1374o.f20831d) {
                try {
                    if (C1374o.f20832e == null) {
                        C1374o.f20832e = new ScheduledThreadPoolExecutor(1);
                    }
                    scheduledThreadPoolExecutor = C1374o.f20832e;
                    if (scheduledThreadPoolExecutor == null) {
                        Intrinsics.m(FxGMxMBbSc.hwOkm);
                        throw null;
                    }
                } catch (Throwable th2) {
                    throw th2;
                }
            }
            this.scheduledPoll = scheduledThreadPoolExecutor.schedule(new Ab.r(this, 25), valueOf.longValue(), TimeUnit.SECONDS);
        }
    }
}