commit | d245501a5c9972b6ee948361aaa1eb743ed9e840 | [log] [tgz] |
---|---|---|
author | ryanlwlin <ryanlwlin@google.com> | Wed Dec 09 20:29:37 2020 +0800 |
committer | ryanlwlin <ryanlwlin@google.com> | Thu Dec 10 12:49:01 2020 +0800 |
tree | bbdb402313ad7b59cae37517ce9b897276092542 | |
parent | 7bd311cf7a957729c5d6f95975654358bcedc4b7 [diff] |
Fix button is gone after dragging over 5 secs The pending fading out animation is not canceled while dragging. It should be canceled when the users touchs the button. If it is fading out when the user touchs it, we should cancel the animation and set the alpha value to 1. Bug: 175194712 Test: atest MagnificationModeSwitchTest manually test Change-Id: I3dec8520e90db7aff1050924be4e3bab1e27f23d