summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJun Mukai <mukai@google.com>2015-06-09 15:00:28 -0700
committerJun Mukai <mukai@google.com>2015-06-09 15:11:45 -0700
commit0eaec1f5d1b47739b8d33cb45111bccd18f2d7b1 (patch)
treed7c7c0e676cdc3d01a0e2f6cb440f0c649b38077 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent25bb4553f379c70244f52d4864eab18530aa0a2e (diff)
Specifies the new height/width for update() on ListPopupWindow.show().
The current code is doing setHeight()/setWidth() and then invokes update() with -1 for height/width params. However, javadoc for setHeight() says that "If the popup is showing, calling this method will take effect the next time the popup is shown", and update() says "Width and height can be set to -1 to update location only." That said, ListPopupWindow should invoke update() with the obtained width/height instead of invoking setWidth()/setHeight() to resize the popup window correctly. Bug: 21276583 Change-Id: I0961820ff2e845a0f68c20d6eea827aa898c2101
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions