Commit 61699b6d authored by nancy's avatar nancy Committed by Commit Bot

Remove blocked apps from the suggestion chips.

BUG=1006999

Change-Id: I2a85e86059c617e7676e9b9319fd8a245a197b35
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040639Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Reviewed-by: default avatarNancy Wang <nancylingwang@chromium.org>
Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#739096}
parent b990bcde
......@@ -311,7 +311,8 @@ class AppServiceDataSource : public AppSearchProvider::DataSource,
update.InstalledInternally() == apps::mojom::OptionalBool::kTrue));
apps_vector->back()->set_recommendable(
update.Recommendable() == apps::mojom::OptionalBool::kTrue &&
update.Paused() != apps::mojom::OptionalBool::kTrue);
update.Paused() != apps::mojom::OptionalBool::kTrue &&
update.Readiness() != apps::mojom::Readiness::kDisabledByPolicy);
apps_vector->back()->set_searchable(update.Searchable() ==
apps::mojom::OptionalBool::kTrue);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment