summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-12-15 14:35:02 -0800
committerJohn Reck <jreck@google.com>2012-01-04 09:50:17 -0800
commit0ffa9713dc66c4b0db3027a1edab52c99a3af129 (patch)
tree9ff1fc24e1e2deca00cd446338aa8904db1c54e1
parent1e43249af8df208486d890fc86ae45ab39045221 (diff)
downloadpackages_apps_Browser-0ffa9713dc66c4b0db3027a1edab52c99a3af129.zip
packages_apps_Browser-0ffa9713dc66c4b0db3027a1edab52c99a3af129.tar.gz
packages_apps_Browser-0ffa9713dc66c4b0db3027a1edab52c99a3af129.tar.bz2
DO NOT MERGE Fix generic filter check
Bug: 5768794 Cherry pick from master Change-Id: I7bace7a33fe1601039a5aacc5c3af7167d566a1d
-rw-r--r--src/com/android/browser/UrlHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/UrlHandler.java b/src/com/android/browser/UrlHandler.java
index 73b265d..a4df999 100644
--- a/src/com/android/browser/UrlHandler.java
+++ b/src/com/android/browser/UrlHandler.java
@@ -209,7 +209,7 @@ public class UrlHandler {
// Error on the side of staying in the browser, ignore
continue;
}
- if (filter.countDataAuthorities() == 0 || filter.countDataPaths() == 0) {
+ if (filter.countDataAuthorities() == 0 && filter.countDataPaths() == 0) {
// Generic handler, skip
continue;
}