fix android javac compile bug
This commit is contained in:
parent
018cb249ab
commit
6d88556bae
|
@ -3,7 +3,6 @@ package org.notify.FreeKill;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.WindowManager;
|
import android.view.WindowManager;
|
||||||
import android.view.ViewGroup.LayoutParams;
|
|
||||||
import org.qtproject.qt.android.QtNative;
|
import org.qtproject.qt.android.QtNative;
|
||||||
|
|
||||||
public class Helper {
|
public class Helper {
|
||||||
|
@ -26,7 +25,7 @@ public class Helper {
|
||||||
|
|
||||||
// FullScreen
|
// FullScreen
|
||||||
WindowManager.LayoutParams lp = activity.getWindow().getAttributes();
|
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);
|
activity.getWindow().setAttributes(lp);
|
||||||
|
|
||||||
decorView.setOnSystemUiVisibilityChangeListener
|
decorView.setOnSystemUiVisibilityChangeListener
|
||||||
|
|
Loading…
Reference in New Issue