Skip to content
Commit e055bf63 authored by Chaohui Wang's avatar Chaohui Wang
Browse files

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
parent 11b85acc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment