History log of /packages/apps/Browser/src/com/android/browser/UrlHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
12504199716c0b906c88769c19fc1734858e7a41 11-Dec-2014 Ben Murdoch <benm@android.com> am f1077df4: am 5baac25e: Merge "Log an error when no activity is found to handle a URL."

* commit 'f1077df463b0792dc9285286071b64f64ddbb623':
Log an error when no activity is found to handle a URL.
2b1bde299d96e9b244f578b176a4fc43c99c027c 11-Dec-2014 Ben Murdoch <benm@google.com> Log an error when no activity is found to handle a URL.

Rather than crashing due to ActivityNotFoundException.

Bug: 13930087
Change-Id: Id3af8301bb87298b885a24f70bf184abe4fc2a11
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
533a216feaa4866386fd15edcbc88ede1b4ffea7 29-Oct-2014 Selim Gurun <sgurun@google.com> Added a check for an exception

Bug:18074899

Change-Id: I6f602f37a622f5a86f3e9a33021c018a3aa93cb6
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
3f9c4f8bffbf1ab7fdbfdc39f320584968f57ffb 07-May-2014 Marcin Kosiba <mkosiba@google.com> Sanitize selector Intent when handling intent: scheme.

Android Intents have a selector field which, if present, are used
to search for the Activity to invoke. These must also be sanitized
before handing off to the OS.

BUG:14562482
Change-Id: I21752bc7841cf452ed42547acb6816f044130901
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
38b3965028e4ac433de9d43c02d3167ff0ef208c 05-Jun-2012 John Reck <jreck@google.com> Disable URL overriding on redirects

Bug: 5334118
When sending an intent for a URL with specialized handlers, tag
it with an extra that will surpress subsequent redirections

Change-Id: I997aa79192baea86c58958ab213200d57ec4c4f9
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
f1286a455eeacd02dfcca1335e6a7a9f87433c1b 17-Apr-2012 Michael Kolb <kolby@google.com> Re-use tab for an intent created by browser

Bug: 6332680

Change-Id: If9c754e2320e8f112a816c54138918fbaf360597
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
1e6a287e0ecb6311faf02a03ad6dc787fc5bad78 15-Dec-2011 John Reck <jreck@google.com> Fix generic filter check

Bug: 5768794

Change-Id: I72d98d1750232bfdedc88b2cbf3ff76c088e89d2
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
8bcafc149bc49b84c8dfbaacf88c178d8bc9eda6 30-Aug-2011 John Reck <jreck@google.com> Fix blank page activity selection bug

Bug: 5191031
Sets an app id on the tab so that if the intent comes back to us,
it is opened in the current tab.
Close empty tabs correctly if the intent goes elsewhere
Fix Tab.syncCurrentState to deal with WebView.getUrl() == null correctly

Change-Id: I31e1e1f6688fb5c5c31ba07dde4e6b3bad34fb13
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
e57c709438aec9d64e3de7eefd87f333fcd2ae7c 19-Jul-2011 Michael Kolb <kolby@google.com> ignore rlz task if browser is paused

Bug: 4575720
When the RLZ task wants to load the url, make sure
browser is still running, otherwise ignore the task

Change-Id: I74f491177e61435ea6a427e9b5a0d85d3854f27f
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
26b183292dc087b16af10f482744c3bb30e1f163 21-Jun-2011 John Reck <jreck@google.com> Prevent webview reuse

Bug: 4742007
Bug: 4770356
Also pipe all loadUrl's through Tab so that it can immediately
update its internal state. This is necessary as javascript:
uris do not cause onPageStarted/finished callbacks to happen,
thus the url and title of the Tab do not update.

Change-Id: I6d17e8627db505eaa9158339fdfc7afd2c6672a2
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
c831b63308dd1f8ef71808db8344ca2566ba4ed4 11-May-2011 Michael Kolb <kolby@google.com> introduce tab IDs

Tabs are identified by IDs now, instead of their position
Refactored the save/restore code

Change-Id: I7133d55831201d097dc19ec938a85e7085f36749
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
7bcafde2ba532941c1eb8c9022eebd5398aeae2a 09-May-2011 Michael Kolb <kolby@google.com> refactor open tab code

Change-Id: Ibcffa5a55b2b7dcf56174f9dd916a565b31506e9
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
35e9dd6283a2d65687104eb0b3a459c02dcb150b 25-Apr-2011 John Reck <jreck@google.com> Browser settings refactor

Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
db3d43dfe0235c61e6ed12413fba86d8225cb04f 11-Feb-2011 John Reck <jreck@google.com> Handle unsupported schema case better

Bug: 3442811 3443962
Fix it so that the check for specialized handlers takes into
account whether or not webkit can even handle the schema. If it
can't handle the schema, we always want to call startActivity

Change-Id: Ib7667f9fe6c3ea0602ccc1fdfce09b5920757a63
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
95a49ff076aa973e5d5f8d5e2ce03d94de282658 09-Feb-2011 John Reck <jreck@google.com> Prevent activity selection dialog spam

Only show the activity selection dialog if there is a non-browser
intent handler for the intent. For example, if you click on a
google maps link, we want to show the dialog so the user can
jump to the native app

Change-Id: I0671e9782c34a32623087861b0cc313c0c5405c8
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
ca9898e114d8844a7eeb8fc5048f04ec2e13dd8e 21-Jan-2011 Russell Brenner <russellbrenner@google.com> Fix 3373012, null pointer in WebView.loadUrl

UrlHandler can spawn a background RLZTask which will, upon completion,
load the url. This change checks with the controller to see that the
tab is still open before loading the url.

Change-Id: If756c1bc1f79b54878c7d03b5bc5f86b8ab07245
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
539e2eced0f35144d7841477e5cdc2d8c521e82a 13-Jan-2011 Patrick Scott <phanna@android.com> Different approach to auto signin.

On startup, attempt to log the user into google sites. Show a progress dialog
that the user can cancel if login takes too long.

Add a new preference for toggling auto signin. This preference shows the
current account and allows the user to choose the account to use. If there are
no accounts, the option is disabled. The saved account is validated each time
it is accessed in case the account was removed.

Bug: 3278072
Change-Id: I10ce1dc57a683b2820b17ef6955577037c82f332
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
14e1ae2d7461de1e0b2434b18c5a139dcfb29b74 12-Jan-2011 Russell Brenner <russellbrenner@google.com> Fix 3337625 to follow link to Google Images

Prior fix for 3296929 caused Images link to stop working. When the
Activity Manager is not needed, the RLZ background task must load the
URL itself.

Change-Id: I10416c97b09fb560dad0cd9bb24673d24a22e0b8
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
d4afde1bf98cef79d00edc67c1b218105c0954fe 07-Jan-2011 Russell Brenner <russellbrenner@google.com> Fix 3296929 to show available actions

RLZ handling was causing links for google properties to bypass the
Activity Manager. Refactored the relevant code as startActivityForUrl()
so that it could be used for both RLZ and non-RLZ links.

Change-Id: Icdacdaafe92671767397fe8cba3503636072eabf
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
d05faa66f2bfa8ff49f6ba5d5c9aa7d7afa25eeb 16-Dec-2010 Patrick Scott <phanna@android.com> First draft of autologin.

Does not work for hosted accounts and is kind of hacky for most properties.
Requires a change to webkit to get redirects sent to the app.

Bug: 3278072
Change-Id: I2e7b716413ac61f84fb9b3d66d6da0615ada0b84
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
18eb377badf8e6f9ea2925bcb7e978facf3171d9 10-Dec-2010 Michael Kolb <kolby@google.com> Propagate incognito mode to child tab

Bug: http://b/issue?id=3234294
add parent tab parameter to open tab method
inherit parent's private browsing status
remove one unnecessary openTab signature

Change-Id: I4edf002798d8bbdf4cafa58e5b5b442e74d5cb28
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
a941f6e87e73c15219042714745d1897cbd13582 07-Dec-2010 Ben Murdoch <benm@google.com> Fix StrictMode violation in shouldOverrideUrlLoading

Move the RLZ string database lookup into a background thread to
clear up a fairly regular Strict Mode violation.

Change-Id: I2a7bcc6649b6e3ae433226d838673ea8aef02db7
/packages/apps/Browser/src/com/android/browser/UrlHandler.java
8233facddcc51865d612a919d450db6954aa48e3 27-Oct-2010 Michael Kolb <kolby@google.com> Controller Refactor

Bug: 3170671
First step towards a model/view/control design in Browser
introduced Controller object
started separating UI code
represent state of the app in one place only

Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f
/packages/apps/Browser/src/com/android/browser/UrlHandler.java