导航菜单

页面标题

页面副标题

All File Recovery v1.0.2 - q.java 源代码

正在查看: All File Recovery v1.0.2 应用的 q.java JAVA 源代码文件

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


package E;

import android.app.PendingIntent;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import d.InterfaceC0960a;
import l.Z;

public class q {

    public static final String f1730d = "CustomTabsSessionToken";

    @Nullable
    public final InterfaceC0960a f1731a;

    @Nullable
    public final PendingIntent f1732b;

    @Nullable
    public final c f1733c;

    public class a extends c {
        public a() {
        }

        @Override
        public void extraCallback(@NonNull String str, @Nullable Bundle bundle) {
            try {
                q.this.f1731a.Z0(str, bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        @NonNull
        public Bundle extraCallbackWithResult(@NonNull String str, @Nullable Bundle bundle) {
            try {
                return q.this.f1731a.q0(str, bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
                return null;
            }
        }

        @Override
        public void onActivityLayout(int i4, int i5, int i7, int i8, int i9, @NonNull Bundle bundle) {
            try {
                q.this.f1731a.e0(i4, i5, i7, i8, i9, bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onActivityResized(int i4, int i5, @NonNull Bundle bundle) {
            try {
                q.this.f1731a.j2(i4, i5, bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onMessageChannelReady(@Nullable Bundle bundle) {
            try {
                q.this.f1731a.E2(bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onMinimized(@NonNull Bundle bundle) {
            try {
                q.this.f1731a.Z1(bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onNavigationEvent(int i4, @Nullable Bundle bundle) {
            try {
                q.this.f1731a.s2(i4, bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onPostMessage(@NonNull String str, @Nullable Bundle bundle) {
            try {
                q.this.f1731a.U(str, bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onRelationshipValidationResult(int i4, @NonNull Uri uri, boolean z3, @Nullable Bundle bundle) {
            try {
                q.this.f1731a.I2(i4, uri, z3, bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onUnminimized(@NonNull Bundle bundle) {
            try {
                q.this.f1731a.f2(bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }

        @Override
        public void onWarmupCompleted(@NonNull Bundle bundle) {
            try {
                q.this.f1731a.b1(bundle);
            } catch (RemoteException unused) {
                Log.e(q.f1730d, "RemoteException during ICustomTabsCallback transaction");
            }
        }
    }

    public q(@Nullable InterfaceC0960a interfaceC0960a, @Nullable PendingIntent pendingIntent) {
        if (interfaceC0960a == null && pendingIntent == null) {
            throw new IllegalStateException("CustomTabsSessionToken must have either a session id or a callback (or both).");
        }
        this.f1731a = interfaceC0960a;
        this.f1732b = pendingIntent;
        this.f1733c = interfaceC0960a == null ? null : new a();
    }

    @NonNull
    public static q a() {
        return new q(new b(), null);
    }

    @Nullable
    public static q f(@NonNull Intent intent) {
        Bundle extras = intent.getExtras();
        if (extras == null) {
            return null;
        }
        IBinder binder = extras.getBinder(f.f1616d);
        PendingIntent pendingIntent = (PendingIntent) intent.getParcelableExtra(f.f1618e);
        if (binder == null && pendingIntent == null) {
            return null;
        }
        return new q(binder != null ? InterfaceC0960a.b.S2(binder) : null, pendingIntent);
    }

    @Nullable
    public c b() {
        return this.f1733c;
    }

    @Nullable
    public IBinder c() {
        InterfaceC0960a interfaceC0960a = this.f1731a;
        if (interfaceC0960a == null) {
            return null;
        }
        return interfaceC0960a.asBinder();
    }

    public final IBinder d() {
        InterfaceC0960a interfaceC0960a = this.f1731a;
        if (interfaceC0960a != null) {
            return interfaceC0960a.asBinder();
        }
        throw new IllegalStateException("CustomTabSessionToken must have valid binder or pending session");
    }

    @Nullable
    public PendingIntent e() {
        return this.f1732b;
    }

    public boolean equals(Object obj) {
        if (obj instanceof q) {
            q qVar = (q) obj;
            PendingIntent e4 = qVar.e();
            PendingIntent pendingIntent = this.f1732b;
            if ((pendingIntent == null) == (e4 == null)) {
                return pendingIntent != null ? pendingIntent.equals(e4) : d().equals(qVar.d());
            }
        }
        return false;
    }

    @Z({Z.a.LIBRARY})
    public boolean g() {
        return this.f1731a != null;
    }

    @Z({Z.a.LIBRARY})
    public boolean h() {
        return this.f1732b != null;
    }

    public int hashCode() {
        PendingIntent pendingIntent = this.f1732b;
        return pendingIntent != null ? pendingIntent.hashCode() : d().hashCode();
    }

    public boolean i(@NonNull m mVar) {
        return mVar.f1709c.asBinder().equals(this.f1731a);
    }

    public static class b extends InterfaceC0960a.b {
        @Override
        public Bundle q0(String str, Bundle bundle) {
            return null;
        }

        @Override
        public IBinder asBinder() {
            return this;
        }

        @Override
        public void E2(Bundle bundle) {
        }

        @Override
        public void Z1(@NonNull Bundle bundle) {
        }

        @Override
        public void b1(Bundle bundle) {
        }

        @Override
        public void f2(@NonNull Bundle bundle) {
        }

        @Override
        public void U(String str, Bundle bundle) {
        }

        @Override
        public void Z0(String str, Bundle bundle) {
        }

        @Override
        public void s2(int i4, Bundle bundle) {
        }

        @Override
        public void j2(int i4, int i5, Bundle bundle) {
        }

        @Override
        public void I2(int i4, Uri uri, boolean z3, Bundle bundle) {
        }

        @Override
        public void e0(int i4, int i5, int i7, int i8, int i9, @NonNull Bundle bundle) {
        }
    }
}