| commit | b0595cf4b94ccd57cdb710c17a75a9f9a391514d | [log] [tgz] |
|---|---|---|
| author | Azeem Arshad <azeemarshad@chromium.org> | Thu Dec 19 03:21:53 2019 |
| committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 19 03:21:53 2019 |
| tree | 3e1433a7b75b8a8d97995000a7012452053e1344 | |
| parent | 73719d8ec53d79918b965b3950529b922e5bbb0c [diff] |
[Network Settings] Fix quick settings mobile data toggle animation This CL fixes issue with "Mobile Data" toggle animating to the on position when opening the menu instead of appearing in the on state immediately. The issue was caused because the mobile data header view always initializes with the toggle off. The correct value is updated immediately after initialization. But this code path uses the toggle's AnimateIsOn method that starts an animation. Fixed this by setting correct initial state for mobile header view. Fixed: 1020722 Change-Id: I8c17ce28b09b2506221fcbcbf472f80d44f67006 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1975111 Commit-Queue: Azeem Arshad <azeemarshad@chromium.org> Reviewed-by: Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#726241}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .