From c829a97f13ca004fe8bbc263cff05543f474238e Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Thu, 9 Sep 2021 12:18:34 +0800 Subject: [PATCH] Extends the criteria width of split mode Follow the ui spec, we extend criteria width from 600dp -> 720dp Test: Build apk and run on the device. Fix: 197716926 Change-Id: If963ebb1f51c71a1d225198a150e4cbc2f5ef35a --- .../settings/activityembedding/ActivityEmbeddingUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/activityembedding/ActivityEmbeddingUtils.java b/src/com/android/settings/activityembedding/ActivityEmbeddingUtils.java index 96c37773fc1..fd6618716e0 100644 --- a/src/com/android/settings/activityembedding/ActivityEmbeddingUtils.java +++ b/src/com/android/settings/activityembedding/ActivityEmbeddingUtils.java @@ -28,7 +28,7 @@ import androidx.window.embedding.SplitController; public class ActivityEmbeddingUtils { public static final float SPLIT_RATIO = 0.5f; // 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 split should be used. private static final float MIN_SMALLEST_SCREEN_SPLIT_WIDTH_DP = 600f;