summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLyn Han <lynhan@google.com>2021-05-06 13:11:18 -0500
committerLyn Han <lynhan@google.com>2021-05-06 15:07:51 -0500
commit1b37f907700b1cb682ab46c013a9fdaa2dc85ca4 (patch)
tree21a852513c192f6e5c520ec53d802dfb1fa21704 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent22962c17df821df4345b380da472309bb08c8757 (diff)
Fix bug where lockscreen notification is minimized and not dismissable
This happened because - recently we started counting MediaHeaderView as part of maxDisplayedNotifications on lockscreen - causing the last notification that should have shown on lockscreen to restrict itself to shelf height, and later be replaced with the shelf during layout; the shelf is not dismissable. The fix is to - ignore MediaHeaderView when counting shown notifications - still include MediaHeaderView in contentHeight calculations Fixes: 187304623 Test: have MediaHeaderView and many notifications on lockscreen and swipe away all of them individually Change-Id: I4e122b9321856880a5a09e03df61698eaf6b5f54
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions