| Index: ui/app_list/views/app_list_view.cc
|
| diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc
|
| index 128b018f2dcde90c6ba3207842482f48d98945ee..35f6603a56888f22fb81250003ff20f889a3df29 100644
|
| --- a/ui/app_list/views/app_list_view.cc
|
| +++ b/ui/app_list/views/app_list_view.cc
|
| @@ -516,6 +516,9 @@ void AppListView::UpdateDrag(const gfx::Point& location) {
|
| }
|
|
|
| void AppListView::EndDrag(const gfx::Point& location) {
|
| + // When the SearchBoxView closes the app list, ignore the final event.
|
| + if (app_list_state_ == CLOSED)
|
| + return;
|
| // Change the app list state based on where the drag ended. If fling velocity
|
| // was over the threshold, snap to the next state in the direction of the
|
| // fling.
|
|
|