Browse Source

Removed logging of parsed differences

renovate/org.robolectric-robolectric-4.x
tcely 4 years ago
parent
commit
8637fceab0
No known key found for this signature in database GPG Key ID: E361829E1B3040DB
  1. 8
      app/src/main/java/awais/instagrabber/activities/MainActivity.java

8
app/src/main/java/awais/instagrabber/activities/MainActivity.java

@ -613,14 +613,6 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
if (url == null) return;
// Log.d(TAG, url);
final IntentModel intentModel = IntentUtils.parseUrl(url);
// Temporarily log URLs that parse in a new way, then use the old parser result
final IntentModel intentModelOld = IntentUtils.parseUrlOld(url);
if (intentModelOld != null && (intentModel == null || (intentModelOld.getType() != intentModel.getType()) || (intentModelOld.getText() != intentModel.getText()))) {
Log.w(TAG, url);
intentModel = intentModelOld;
}
if (intentModel == null) return;
showView(intentModel);
}

Loading…
Cancel
Save