Commit 6615e8ab authored by Yafei Duan's avatar Yafei Duan Committed by Commit Bot

[Explore Sites] Remove redundant char when creating Tile.

'#' will be in the json which will be parsed to get the navigation URL.
This should make things better for both server and client side.

Bug: NONE
Change-Id: I503352ab7970ed55d9e9ab3e786e3c0675d7d471
Reviewed-on: https://chromium-review.googlesource.com/1109379Reviewed-by: default avatarCathy Li <chili@chromium.org>
Commit-Queue: Yafei Duan <romax@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569123}
parent 8ad58076
...@@ -31,7 +31,7 @@ public class ExploreSitesCategoryTile { ...@@ -31,7 +31,7 @@ public class ExploreSitesCategoryTile {
public ExploreSitesCategoryTile(String categoryName, String iconUrl, String navigationUrl) { public ExploreSitesCategoryTile(String categoryName, String iconUrl, String navigationUrl) {
mCategoryName = categoryName; mCategoryName = categoryName;
mIconUrl = iconUrl; mIconUrl = iconUrl;
mNavigationUrl = ExploreSitesBridge.nativeGetCatalogUrl() + "#" + navigationUrl; mNavigationUrl = ExploreSitesBridge.nativeGetCatalogUrl() + navigationUrl;
} }
public String getNavigationUrl() { public String getNavigationUrl() {
......
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