summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff DeCew <jeffdq@google.com>2021-05-10 12:12:21 -0400
committerJeff DeCew <jeffdq@google.com>2021-05-10 21:55:04 -0400
commitc6d567d2399a2e6514f961c04416c8e1f263a428 (patch)
tree1008d4d6c85acc9fdd04864c88d1b5699e2f2d05 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2ca6b4399a4380b38c922c5152d7086ce11d211f (diff)
Fix measure logic so that priority children can have more than 1/N space.
The priority previously just put the view at the front of the list, which ensured that super long user-provided actions couldn't cause the priority action at the end to be truncated. However, this still meant that a priority action at the start whose text would have it be longer than 1/3 of the action space would be capped at 1/3 instead of taking on some of the user-defined child's space. Bug: 187533622 Test: Post Notify2 app's Call style w/ Screen action; notice that "Decline" is not truncated. Change-Id: Ia18b2dc366ba7cac13ed845acac59d89206e7d5e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions