diff options
author | Beverly <beverlyt@google.com> | 2020-06-10 17:42:32 -0400 |
---|---|---|
committer | Beverly Tai <beverlyt@google.com> | 2020-06-15 15:51:42 +0000 |
commit | 8c736aa4f96eed7c49ca5d10666de01223064c56 (patch) | |
tree | a287f39e02d3eaee8473fb937fd44747af72c18f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 3fb94d8e9da94234790fe5888b18fa80345b3159 (diff) |
Set PageIndicator pages in QSPanel#onMeasure
Pre-emptively update PageIndicator's numPages before measuring in
QSPanel so that views will be appropriately measured. Previously, new
PageIndicator child views would be added in the middle of a QSPanel layout pass
after already being measured, so the new PageIndicator child wouldn't be
measured.
Test: manually add and remove new QS tiles. rotate between landscape +
portrait modes. observe the PageIndicator is correct.
Fixes: 157542221
Change-Id: Ic1bb29039dd12993a50758bf48a4ad792d8cdfc3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions