package d1;

import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.drawerlayout.widget.DrawerLayout;
import q0.k;
import q0.s;

/* JADX INFO: loaded from: classes.dex */
public final class a implements s {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ DrawerLayout f24911a;

    public a(DrawerLayout drawerLayout) {
        this.f24911a = drawerLayout;
    }

    @Override // q0.s
    public boolean perform(@NonNull View view, @Nullable k kVar) {
        DrawerLayout drawerLayout = this.f24911a;
        drawerLayout.getClass();
        if (!DrawerLayout.k(view) || drawerLayout.g(view) == 2) {
            return false;
        }
        drawerLayout.b(view, true);
        return true;
    }
}
