Revert "[android] Adds delay to inset application on API 29 and lower"

This reverts commit 7b600efd5c.
This commit is contained in:
Konstantin Pastbin
2025-07-04 14:20:46 +07:00
committed by Konstantin Pastbin
parent 736e1aa07b
commit e321b1c5be

View File

@@ -484,10 +484,7 @@ public class MapButtonsController extends Fragment
.build();
ViewCompat.setOnApplyWindowInsetsListener(mFrame, insetsListener);
// Fixes insets on older Androids and with a search opened via API on all Androids.
if (android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.Q)
mFrame.postDelayed(() -> ViewCompat.requestApplyInsets(mFrame), 1250);
else
mFrame.post(() -> ViewCompat.requestApplyInsets(mFrame));
mFrame.post(() -> ViewCompat.requestApplyInsets(mFrame));
}
@Override