Merge "Restricts the width of pin widget dialog to 89% on large screen devices" into sc-v2-dev

This commit is contained in:
Steven Ng
2021-07-09 09:38:33 +00:00
committed by Android (Google) Code Review
2 changed files with 11 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ public abstract class BaseWidgetSheet extends AbstractSlideInView<Launcher>
* The maximum scale, [0, 1], of the device screen width that the widgets picker can consume
* on large screen devices.
*/
protected static final float MAX_WIDTH_SCALE_FOR_LARGER_SCREEN = 0.8f;
protected static final float MAX_WIDTH_SCALE_FOR_LARGER_SCREEN = 0.89f;
protected static final String KEY_WIDGETS_EDUCATION_TIP_SEEN =
"launcher.widgets_education_tip_seen";