OSDN Git Service

allow adding content: bookmarks
authorCary Clark <cary@android.com>
Tue, 1 Sep 2009 15:45:37 +0000 (11:45 -0400)
committerCary Clark <cary@android.com>
Tue, 1 Sep 2009 15:45:37 +0000 (11:45 -0400)
src/com/android/browser/AddBookmarkPage.java

index 87638d8..2575857 100644 (file)
@@ -124,7 +124,7 @@ public class AddBookmarkPage extends Activity {
         }
         String url = unfilteredUrl;
         if (!(url.startsWith("about:") || url.startsWith("data:") || url
-                .startsWith("file:"))) {
+                .startsWith("file:") || url.startsWith("content:"))) {
             WebAddress address;
             try {
                 address = new WebAddress(unfilteredUrl);