Browse Source

Note on intent utils

master
Anthony Restaino 11 years ago
parent
commit
a21ddb3a13
  1. 4
      src/acr/browser/lightning/IntentUtils.java

4
src/acr/browser/lightning/IntentUtils.java

@ -90,6 +90,10 @@ public class IntentUtils {
// Error on the side of staying in the browser, ignore // Error on the side of staying in the browser, ignore
continue; continue;
} }
// NOTICE: Use of && instead of || will cause the browser
// to launch a new intent for every URL, using OR only
// launches a new one if there is a non-browser app that
// can handle it.
if (filter.countDataAuthorities() == 0 if (filter.countDataAuthorities() == 0
|| filter.countDataPaths() == 0) { || filter.countDataPaths() == 0) {
// Generic handler, skip // Generic handler, skip

Loading…
Cancel
Save