Skip to content

Commit c4e07f8

Browse files
feat: cutout warning
1 parent fdefddc commit c4e07f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/src/main/java/ly/count/android/sdk/TransparentActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ protected void onCreate(Bundle savedInstanceState) {
7979
| WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH;
8080
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
8181
params.layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
82+
// If this is disabled, UtilsDevice line 61 needs to be changed to subtract cutout always
8283
}
8384
getWindow().setAttributes(params);
8485
getWindow().setBackgroundDrawableResource(android.R.color.transparent);

0 commit comments

Comments
 (0)