From 3d17188e3dcde773abf26261dc3fdbbc3a8a3412 Mon Sep 17 00:00:00 2001 From: Dmitry Donskoy Date: Tue, 19 Jun 2018 12:48:54 +0300 Subject: [PATCH] [android] Fixed fullscreen mode placeholder on Samsung 9 --- android/src/com/mapswithme/maps/widget/PlaceholderView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/widget/PlaceholderView.java b/android/src/com/mapswithme/maps/widget/PlaceholderView.java index 52a04bb9ec..524dc6fe90 100644 --- a/android/src/com/mapswithme/maps/widget/PlaceholderView.java +++ b/android/src/com/mapswithme/maps/widget/PlaceholderView.java @@ -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; }