diff options
| author | 2023-06-24 00:08:04 +0800 | |
|---|---|---|
| committer | 2023-06-26 12:15:50 +0800 | |
| commit | e055bf63f769a955258931a665f6b4f542de1986 (patch) | |
| tree | a8a13fc998c9c7bb37d69275d832734cb6e71e5c /libs/androidfw/FileStream.cpp | |
| parent | 11b85acc51705834b77a2c55da023580b9751c66 (diff) | |
Fix SearchScaffold flaky when close search box
AppBar's max height is calculated based on title's size, when the search
box is closing, this calculated value could be changed to smaller value
than default, which cause flaky.
Not set max height value less than default to fix this issue.
Also import the following upstream change,
https://r.android.com/2617890 Guard against NaN at the TopAppBarLayout
Bug: 284913888
Test: manual - click search, then close, observe
Test: unit test
Change-Id: If733535487da46cc15abfaa453355acd9a172097
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions