summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-02-03 14:48:37 -0800
committerjorgegil@google.com <jorgegil@google.com>2021-02-03 14:52:35 -0800
commit42e039cd6a37b20fc99fdedaadfafcceea050736 (patch)
tree1a3337d40d95a717c9d1dbe1ba98785c42588a7b /tools/aapt2/java/JavaClassGenerator.cpp
parentbf7df8a8a361f03e745f20a9d92cd8f2608af6d8 (diff)
Run alignment logic of menu icons when the menu is created
The algorithm's icon arrangement logic was previously ran in onBoundsChange, which could cause the icons to be misaligned the very first time the menu is shown after being created. This change ensures that the algorithm does an initial run when the menu is first created. Bug: 178708863 Test: manual - open YT PIP, tap to see menu, see the gear icon is aligned to the top-start corner Change-Id: I2cb53578db897af62be7ebd3ed40946e16606568
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions