package o;

import android.view.View;
import android.view.Window;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public class Ll0 extends AbstractC0662Zn {
    public final Window m;

    public Ll0(Window window, WT wt) {
        this.m = window;
    }

    @Override // o.AbstractC0662Zn
    public final void H(boolean z) {
        if (!z) {
            P(8192);
            return;
        }
        Window window = this.m;
        window.clearFlags(67108864);
        window.addFlags(Integer.MIN_VALUE);
        View decorView = window.getDecorView();
        decorView.setSystemUiVisibility(8192 | decorView.getSystemUiVisibility());
    }

    public final void P(int i) {
        View decorView = this.m.getDecorView();
        decorView.setSystemUiVisibility((~i) & decorView.getSystemUiVisibility());
    }
}
