41 lines
1.2 KiB
Java
41 lines
1.2 KiB
Java
package o;
|
|
|
|
import android.os.Build;
|
|
import android.view.View;
|
|
import android.view.Window;
|
|
import androidx.core.view.WindowInsetsControllerCompat;
|
|
|
|
/* renamed from: o.mQa, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C16217mQa {
|
|
public static void tt_(Window window, boolean z) {
|
|
if (Build.VERSION.SDK_INT >= 30) {
|
|
IeS.tv_(window, z);
|
|
} else {
|
|
LWm.tu_(window, z);
|
|
}
|
|
}
|
|
|
|
public static WindowInsetsControllerCompat ts_(Window window, View view) {
|
|
return new WindowInsetsControllerCompat(window, view);
|
|
}
|
|
|
|
/* renamed from: o.mQa$LWm */
|
|
/* loaded from: classes.dex */
|
|
static class LWm {
|
|
static void tu_(Window window, boolean z) {
|
|
View decorView = window.getDecorView();
|
|
int systemUiVisibility = decorView.getSystemUiVisibility();
|
|
decorView.setSystemUiVisibility(z ? systemUiVisibility & (-1793) : systemUiVisibility | 1792);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.mQa$IeS */
|
|
/* loaded from: classes.dex */
|
|
static class IeS {
|
|
static void tv_(Window window, boolean z) {
|
|
window.setDecorFitsSystemWindows(z);
|
|
}
|
|
}
|
|
}
|