Merge "Extends the criteria width of split mode" into sc-v2-dev am: 85ec4b7312
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15786013 Change-Id: I3974d05ec14bf783fde05d92901f265f44e14d11
This commit is contained in:
@@ -28,7 +28,7 @@ import androidx.window.embedding.SplitController;
|
|||||||
public class ActivityEmbeddingUtils {
|
public class ActivityEmbeddingUtils {
|
||||||
public static final float SPLIT_RATIO = 0.5f;
|
public static final float SPLIT_RATIO = 0.5f;
|
||||||
// The smallest value of current width of the window when the split should be used.
|
// The smallest value of current width of the window when the split should be used.
|
||||||
private static final float MIN_CURRENT_SCREEN_SPLIT_WIDTH_DP = 600f;
|
private static final float MIN_CURRENT_SCREEN_SPLIT_WIDTH_DP = 720f;
|
||||||
// The smallest value of the smallest-width (sw) of the window in any rotation when
|
// The smallest value of the smallest-width (sw) of the window in any rotation when
|
||||||
// the split should be used.
|
// the split should be used.
|
||||||
private static final float MIN_SMALLEST_SCREEN_SPLIT_WIDTH_DP = 600f;
|
private static final float MIN_SMALLEST_SCREEN_SPLIT_WIDTH_DP = 600f;
|
||||||
|
Reference in New Issue
Block a user