Limit preview width to the max chooser width value.

This is just a straightforward fix, b/235278644 to clean up the logic.
Fix: 223775954
Test: Manual test - share a long link on a phone in landscape
orientation with 3-button system navigation.

Change-Id: I051c5d0ba7216e6a43f2e56c9e2b6af16cd8a3fc
This commit is contained in:
Andrey Epin
2022-06-07 17:34:45 -07:00
parent bb4868d65d
commit ccd4657ff2

View File

@@ -74,7 +74,7 @@
<!-- Floating toolbar dimensions -->
<dimen name="floating_toolbar_preferred_width">544dp</dimen>
<dimen name="chooser_preview_width">480dp</dimen>
<dimen name="chooser_preview_width">412dp</dimen>
<dimen name="toast_y_offset">24dp</dimen>
</resources>