commit | 1b336110a445c82400efe8a72dfb3437982bbcf7 | [log] [tgz] |
---|---|---|
author | Jordan Silva <silvajordan@google.com> | Tue Jun 13 15:27:40 2023 +0100 |
committer | Jordan Silva <silvajordan@google.com> | Tue Jun 13 18:09:37 2023 +0100 |
tree | a4e38d237c4c994ada39077f812de829351857eb | |
parent | 7ae9e3a6f53d7fcd8a60b2a9777532c0b4744171 [diff] |
Update SizeSpec attributes to accept max size threshold Add maxSize attribute to SizeSpec to limit the cell size up to a max size when matchWorkspace is true. The same validation was added when using fixedSize, ofAvailableSpace and ofRemainderSpace, so they could have a maxSize as a threshold. Bug: 284155638 Flag: ENABLE_RESPONSIVE_WORKSPACE Test: SizeSpecTest Test: WorkspaceSpecsTest Change-Id: I113657c241e6618eb3e501243412d8c5626fc3d5