commit | 9051a8e38618990f0491ac74cd5ef92cecdb8ddf | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Wed Jan 29 10:33:36 2020 -0800 |
committer | Ram Parameswaran <rampara@google.com> | Thu Mar 19 00:09:51 2020 +0000 |
tree | 9a03fbf4b6b82351b65fb138f76a56ef41f5cc43 | |
parent | 35b56717111610de3c4804548f5b56109f6c05a4 [diff] |
Fix failing toolbar unit tests Since switching to use AsyncLayoutInflater to inflate MenuItems tests were failing by trying to find views before they were inflated. Shadow AsyncLayoutInflater to inflate synchronously so that the tests can find views immediately. Test: Run the robotests Bug: 151636938 Change-Id: I8aa8f84f1c583abc1591ca6a7181a87b67e3eee5 Merged-In: I8aa8f84f1c583abc1591ca6a7181a87b67e3eee5