From 02627729ed514b852b67465d36063166cb798b2c Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 9 Oct 2020 15:50:06 +0300 Subject: [PATCH 1/2] println removed --- .../src/net/osmand/plus/osmedit/SettingsOsmEditingActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/SettingsOsmEditingActivity.java b/OsmAnd/src/net/osmand/plus/osmedit/SettingsOsmEditingActivity.java index 4f1410dc4c..1be623825b 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/SettingsOsmEditingActivity.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/SettingsOsmEditingActivity.java @@ -179,7 +179,6 @@ public class SettingsOsmEditingActivity extends SettingsBaseActivity { protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Uri uri = intent.getData(); - System.out.println("URI=" + uri); if (uri != null && uri.toString().startsWith("osmand-oauth")) { String oauthVerifier = uri.getQueryParameter("oauth_verifier"); client.authorize(oauthVerifier); From 116abf1e2851d21c052800b177e5002eedae28c7 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 9 Oct 2020 17:51:39 +0300 Subject: [PATCH 2/2] image added --- .../plus/mapcontextmenu/builders/cards/IPFSImageCard.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/cards/IPFSImageCard.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/cards/IPFSImageCard.java index 45495ca8d0..0d58add034 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/cards/IPFSImageCard.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/cards/IPFSImageCard.java @@ -1,8 +1,10 @@ package net.osmand.plus.mapcontextmenu.builders.cards; import android.view.View; +import androidx.core.content.ContextCompat; import net.osmand.AndroidNetworkUtils; import net.osmand.PlatformUtil; +import net.osmand.plus.R; import net.osmand.plus.activities.MapActivity; import net.osmand.util.Algorithms; import org.apache.commons.logging.Log; @@ -24,6 +26,7 @@ public class IPFSImageCard extends ImageCard { url = BASE_URL + cid; imageHiresUrl = BASE_URL + cid; imageUrl = BASE_URL + cid; + icon = ContextCompat.getDrawable(getMyApplication(), R.drawable.ic_logo_openplacereview); if (!Algorithms.isEmpty(getUrl())) { View.OnClickListener onClickListener = new View.OnClickListener() { @Override