fix android javac compile bug

This commit is contained in:
notify 2023-04-07 16:34:38 +08:00 committed by GitHub
parent 018cb249ab
commit 6d88556bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ package org.notify.FreeKill;
import android.app.Activity;
import android.view.View;
import android.view.WindowManager;
import android.view.ViewGroup.LayoutParams;
import org.qtproject.qt.android.QtNative;
public class Helper {
@ -26,7 +25,7 @@ public class Helper {
// FullScreen
WindowManager.LayoutParams lp = activity.getWindow().getAttributes();
lp.layoutInDisplayCutoutMode = LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
lp.layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
activity.getWindow().setAttributes(lp);
decorView.setOnSystemUiVisibilityChangeListener