Commit efabe852 authored by Pete Williamson's avatar Pete Williamson Committed by Commit Bot

Allow sending feedback when no URL is present.

Headlines, 3packs, and Covid news all don't have a base URL.  Allow
sending feedback anyway.

Bug: 1117268
Change-Id: Iad366bc79b042dc51c1df5938db32c6f5f7cada0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360484Reviewed-by: default avatarCarlos Knippschild <carlosk@chromium.org>
Commit-Queue: Peter Williamson <petewil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798938}
parent bc98e6fd
...@@ -709,9 +709,6 @@ public class FeedStreamSurface implements SurfaceActionsHandler, FeedActionsHand ...@@ -709,9 +709,6 @@ public class FeedStreamSurface implements SurfaceActionsHandler, FeedActionsHand
} }
String url = productSpecificDataMap.get(XSURFACE_CARD_URL); String url = productSpecificDataMap.get(XSURFACE_CARD_URL);
if (url == null) {
return;
}
Map<String, String> feedContext = convertNameFormat(productSpecificDataMap); Map<String, String> feedContext = convertNameFormat(productSpecificDataMap);
......
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