Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 600672c9 authored by Tsung-Mao Fang's avatar Tsung-Mao Fang
Browse files

Revert "Extends the criteria width of split mode"

This reverts commit c829a97f.

Reason for revert: <Observe behavior error after rotating the device>
Bug: 15786013

Change-Id: I58024f143f8c59f8b0cf50d5cd284f84600e36e6
parent c829a97f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 = 720f;
    private static final float MIN_CURRENT_SCREEN_SPLIT_WIDTH_DP = 600f;
    // 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;