package androidx.browser.trusted;

import android.os.IBinder;
import android.support.customtabs.trusted.ITrustedWebActivityCallback;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes.dex */
public final class e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final ITrustedWebActivityCallback f900a;

    public e(ITrustedWebActivityCallback iTrustedWebActivityCallback) {
        this.f900a = iTrustedWebActivityCallback;
    }

    @Nullable
    public static e fromBinder(@Nullable IBinder iBinder) {
        ITrustedWebActivityCallback iTrustedWebActivityCallbackAsInterface = iBinder == null ? null : ITrustedWebActivityCallback.Stub.asInterface(iBinder);
        if (iTrustedWebActivityCallbackAsInterface == null) {
            return null;
        }
        return new e(iTrustedWebActivityCallbackAsInterface);
    }
}
