[android] Fixed fullscreen mode placeholder on Samsung 9

This commit is contained in:
Dmitry Donskoy 2018-06-19 12:48:54 +03:00 committed by Aleksandr Zatsepin
parent 92041902b6
commit 3d17188e3d

View file

@ -212,7 +212,7 @@ public class PlaceholderView extends FrameLayout
int[] location = new int[2];
getLocationOnScreen(location);
ViewGroup.LayoutParams lp = getLayoutParams();
lp.height = height - insets.getSystemWindowInsetBottom() - location[1];
lp.height = height - insets.getStableInsetBottom() - location[1];
setLayoutParams(lp);
return insets;
}