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

Commit 1f8d49f2 authored by Winson Chung's avatar Winson Chung
Browse files

Allow apps specifying minWidth/Height to still enter split

- Instead of preventing apps from entering split if their
  minWidth/Height is greater than the smallest split width/height, we
  still put the app into split and allow it to be cropped (since the
  user can resize it to a larger size).  This does not affect apps that
  mark themselves as unresizeable.

Bug: 365559738
Flag: EXEMPT bugfix
Test: Manual, enter split with app specifying minWidth/Height
Change-Id: I13fbd0a3bb10fba3e6b8054f59ffc2826c4d8eb8
parent ad216bac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4380,7 +4380,7 @@
             modes dimensions {@link config_minPercentageMultiWindowSupportWidth} the device
             supports to determine if the activity can be shown in multi windowing modes.
    -->
    <integer name="config_respectsActivityMinWidthHeightMultiWindow">0</integer>
    <integer name="config_respectsActivityMinWidthHeightMultiWindow">-1</integer>

    <!-- This value is only used when the device checks activity min height to determine if it
         can be shown in multi windowing modes.