Commit 63a3602a authored by Maggie Cai's avatar Maggie Cai Committed by Commit Bot

[IntentHandling] Skip the ArcIntentHelper package.

This CL skips the ArcIntentHelper package from arc_apps. When
ArcIntentHelper package registerd, the intent picker will show Chrome as
an option for every link. One case will make this happen is to select an
adress and choose to open with map from the context menu.

BUG=1125915, 853604

Change-Id: Iad7b184cd2899eaaa04d504b738b7055a1009092
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2415753Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Commit-Queue: Maggie Cai <mxcai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#807808}
parent 783d35aa
......@@ -1384,7 +1384,9 @@ apps::mojom::AppPtr ArcApps::Convert(ArcAppListPrefs* prefs,
auto* intent_helper_bridge =
arc::ArcIntentHelperBridge::GetForBrowserContext(profile_);
if (intent_helper_bridge) {
if (intent_helper_bridge &&
app_info.package_name !=
arc::ArcIntentHelperBridge::kArcIntentHelperPackageName) {
UpdateAppIntentFilters(app_info.package_name, intent_helper_bridge,
&app->intent_filters);
}
......
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