- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
39 lines
1.1 KiB
Java
39 lines
1.1 KiB
Java
package com.ironsource;
|
|
|
|
import android.app.Activity;
|
|
import android.os.Build;
|
|
import android.view.Window;
|
|
import android.view.WindowInsets;
|
|
import android.view.WindowInsetsController;
|
|
import java.lang.ref.WeakReference;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class l implements hu {
|
|
private WeakReference<Activity> a;
|
|
|
|
public l(Activity activity) {
|
|
this.a = new WeakReference<>(activity);
|
|
}
|
|
|
|
@Override // com.ironsource.hu
|
|
public void a() {
|
|
WindowInsetsController windowInsetsController;
|
|
int statusBars;
|
|
Activity activity = this.a.get();
|
|
if (activity == null) {
|
|
return;
|
|
}
|
|
int i = Build.VERSION.SDK_INT;
|
|
Window window = activity.getWindow();
|
|
if (i < 30) {
|
|
window.setFlags(1024, 1024);
|
|
return;
|
|
}
|
|
windowInsetsController = window.getDecorView().getWindowInsetsController();
|
|
if (windowInsetsController != null) {
|
|
statusBars = WindowInsets.Type.statusBars();
|
|
windowInsetsController.hide(statusBars);
|
|
}
|
|
}
|
|
}
|