Skip to content

Commit

Permalink
Fix for Android 12
Browse files Browse the repository at this point in the history
  • Loading branch information
virresh committed Nov 27, 2022
1 parent 517326e commit 8636694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdkVersion 24
targetSdkVersion 29
versionCode 106
versionName '1.0.6'
versionName '1.0.7-pre'

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public OverlayView(Context context) {
overlayParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE |
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN |
WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;

overlayParams.alpha = (float) 0.8;
} else {
overlayParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE |
WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
Expand Down

0 comments on commit 8636694

Please sign in to comment.