mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Clean out some excess logging
Change-Id: I3207086bae63f077c5808fba10e9fec9931ab4f1 GitHub: https://github.com/wikimedia/apps-android-commons/pull/3
This commit is contained in:
parent
296fad4bf8
commit
19b389af96
1 changed files with 1 additions and 4 deletions
|
|
@ -104,7 +104,6 @@ public class MediaWikiImageView extends ImageView {
|
|||
// We ignore it if the image request was for either the current URL of for the full URL
|
||||
// Since the full URL is always the second, and
|
||||
if (mImageContainer != null && mImageContainer.getRequestUrl() != null) {
|
||||
Log.d("Commons", "Older one is " + mImageContainer.getRequestUrl() + " new one is " + mUrl);
|
||||
if (mImageContainer.getRequestUrl().equals(mMedia.getImageUrl()) || mImageContainer.getRequestUrl().equals(mUrl)) {
|
||||
return;
|
||||
} else {
|
||||
|
|
@ -126,7 +125,6 @@ public class MediaWikiImageView extends ImageView {
|
|||
new ImageListener() {
|
||||
@Override
|
||||
public void onErrorResponse(final VolleyError error) {
|
||||
Log.d("Commons", "Error: or Url " + mUrl + " value is " + tryOriginal);
|
||||
if(!tryOriginal) {
|
||||
post(new Runnable() {
|
||||
public void run() {
|
||||
|
|
@ -162,8 +160,7 @@ public class MediaWikiImageView extends ImageView {
|
|||
loadingView.setVisibility(View.GONE);
|
||||
}
|
||||
} else {
|
||||
Log.d("Commons", "Whelp, fully can not load an image at all!");
|
||||
// We got nothing back, figure out some sort of a solution?
|
||||
// I'm not really sure where this would hit but not onError
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue