package androidx.appcompat.widget;

import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import androidx.appcompat.widget.InterfaceC0171b;

/* loaded from: classes.dex */
public class FitWindowsFrameLayout extends FrameLayout implements InterfaceC0171b {

    /* renamed from: d */
    public InterfaceC0171b.InterfaceC0172a f498d;

    public FitWindowsFrameLayout(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
    }

    @Override // android.view.View
    public boolean fitSystemWindows(Rect rect) {
        InterfaceC0171b.InterfaceC0172a interfaceC0172a = this.f498d;
        if (interfaceC0172a != null) {
            interfaceC0172a.mo3412a(rect);
        }
        return super.fitSystemWindows(rect);
    }

    @Override // androidx.appcompat.widget.InterfaceC0171b
    public void setOnFitSystemWindowsListener(InterfaceC0171b.InterfaceC0172a interfaceC0172a) {
        this.f498d = interfaceC0172a;
    }
}