summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2024-09-23 18:38:20 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2024-10-02 01:55:54 +0000
commitb65fa4421db1f644c8d6c268b45cb5129502d2fd (patch)
treec95953efe409ef5dffa643521b35d7dc507afd7a
parent23eb08d9afe819782a5d1d617a73c5e1bc1d4e83 (diff)
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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1f8d49f26ee27b6b54b53c3fe400231cd316c6a0) Merged-In: I13fbd0a3bb10fba3e6b8054f59ffc2826c4d8eb8 Change-Id: I13fbd0a3bb10fba3e6b8054f59ffc2826c4d8eb8
-rw-r--r--core/res/res/values/config.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index fe3d4f6b39bf..07efad89010a 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -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.