Skip to content
Commit 8e05aab5 authored by Joshua Tsuji's avatar Joshua Tsuji
Browse files

Protect against NaN in flyout collapses.

This can happen if getWidth() returns 0, likely the result of a race condition. Since
setFlyoutCollapsed is called continuously as a flyout is dragged, we can just wait
until getWidth() > 0.

Bug: 139816141
Test: atest SystemUITests
Change-Id: I2e7b8521a2930564f71919f4f4708c791a9b3545
parent d528e6e5
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