commit | 28c1fd00c31d1a9f39eb747c728310914031291f | [log] [tgz] |
---|---|---|
author | Wenzhao Zang <wzang@chromium.org> | Mon Jan 14 20:52:20 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 14 20:52:20 2019 |
tree | 93c80b92af9681868bdc6fbbb60a7dec79eaa75c | |
parent | fccd9c66115a1e55a3c45d081dcb3712f0c70a15 [diff] |
cros: CancelPreviewWallpaper should return early if not in preview mode Without the early return, observers are notified of OnWallpaperPreviewEnded even if it's not in preview mode. This may cause potential bugs if the observer doesn't have a guard itself. In addition, slightly adjust the logic in wallpaper picker. Bug: None Change-Id: I17f01bd800ec55d969d927b8ede5a06c8ee61676 Reviewed-on: https://chromium-review.googlesource.com/c/1386148 Reviewed-by: Xiaoqian Dai <xdai@chromium.org> Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org> Cr-Commit-Position: refs/heads/master@{#622595}
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 .