Skip to content

Commit

Permalink
ups
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Aug 29, 2024
1 parent d9c4c70 commit 3484362
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/src/main/java/com/dergoogler/core/NativeView.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,11 @@ private void showSystemBars(int type) {

@JavascriptInterface
public void addFlag(int flag) {


try {
ctx.getWindow().addFlags(flag);
} catch (Exception e) {
Log.e(TAG + ":addFlag", e.toString());
}



.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
}

@JavascriptInterface
Expand Down

0 comments on commit 3484362

Please sign in to comment.