diff options
author | 2024-04-26 18:47:42 -0700 | |
---|---|---|
committer | 2024-04-30 05:32:46 +0000 | |
commit | 930cffe5f4ec101b9c8414e8ad6c9da877c6119a (patch) | |
tree | 838c29203d56d40259326e3ef1f66c5de38b3959 /api/api.go | |
parent | 0e2a08779ffc1808b5e2c7c3df4e6061d76d5540 (diff) |
Allow devices to calculate their own split ratio instead of using fixed ratio
Previously, the 30-70 and 70-30 ratios were always calculated precisely at 34.15%, defined in docked_stack_divider_fixed_ratio.
This CL adds a boolean flag, config_flexibleSplitRatios, that allows devices to override docked_stack_divider_fixed_ratio. When overridden, the device will possibly use a larger split ratio to ensure that apps are shown with a minimum size.
Fixes: 330388049
Test: Manual
Change-Id: I491e895abab075e0319804fdec21f5e94053e7f3
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions