History log of /packages/apps/Browser/src/com/android/browser/IntentHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d001de09e1ced4446286e33e868b105b46c1700e 06-Apr-2015 Paul Miller <paulmiller@google.com> Forbid javascript- and file-scheme intents

BUG:13082135
BUG:19296779
Change-Id: Ifea908b175670fbce65205797b93e87adf25bb3d
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
3fa0e8adb2faf92b1529d0ac39ea16b5adc3d3b4 06-Apr-2015 Paul Miller <paulmiller@google.com> Revert "Restrict "javascript" and "file" scheme intents"

This reverts commit ca7ecd85ac925ef44dbef327310f2baad13322f2.

Change-Id: I64460956e6243908a6c575eb4d3c7455efc86dff
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
ca7ecd85ac925ef44dbef327310f2baad13322f2 31-Mar-2015 Paul Miller <paulmiller@google.com> Restrict "javascript" and "file" scheme intents

"javascript" is not allowed; "file" is only allowed in certain directories

BUG:19296779
BUG:13082135
Change-Id: I389a5b0ad3e8add1b1159faca3212c7f11f3ae69
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
7201150794337b6daf03d54331ab5180a5471310 16-Jan-2014 Selim Gurun <sgurun@google.com> Convert the scheme to lowercase

Bug: 9793586

This is to fix a bug in I8f6f03b05556ee4d6846c15752de9be54c003060.

Change-Id: I643fb1b0730e1e6b391c9c5af69cf7b86cbcdfe5
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
348cca6c61e1ad3f2d580298d9ec5f1826f64269 11-Jan-2014 Selim Gurun <sgurun@google.com> Do not let intents request viewing private browser files

Bug: 9793586
Change-Id: I8f6f03b05556ee4d6846c15752de9be54c003060
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
f9e1705d4012706664a2bdf63a50b8a784b833dd 26-Aug-2013 Jonathan Dixon <joth@google.com> De-classicify Android Browser part 2

Bug: 10427705

Allows Browser to compile even when WebViewClassic is no longer in
frameworks/base. The deleted functionality was already disabled at
runtime when using non-classic webview.

Change-Id: I21b58ec52ac059c699b49a2dd80008d9a9e6791a
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
e1d6dfca80e4627a0c7fe46e38f904179c3edab3 17-Dec-2012 Jonathan Dixon <joth@google.com> De-classicify Browser

Removes the hard run-time dependency on WebViewClassic.
(Still needs visisbility of it to build though)
This is needed to enable chromium webview testing.

Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
/packages/apps/Browser/src/com/android/browser/IntentHandler.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/IntentHandler.java
8d772b03fcfd83cea6ec81c9e826f700fac88b61 19-Jan-2012 Michael Kolb <kolby@google.com> Add setting to control tabs per app behavior

Bug: 5890701

Change-Id: I6a47c7bff260dd8ded3a4c360f186ce8f670c67e
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
5ff5c8b88968fa794eab4b7a263cae25f05bd4d3 03-May-2012 Michael Kolb <kolby@google.com> Remove voice search handling

Bug: 6439925

Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
/packages/apps/Browser/src/com/android/browser/IntentHandler.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/IntentHandler.java
4d2fcaba7fb8eb1723943ac9a10e76d509330bd1 24-Feb-2012 Jonathan Dixon <joth@google.com> Fixup browser to use WebView proxy

Has to escape out to WebViewClassic whenever it needs a hidden API.

Interdepends on https://android-git.corp.google.com/g/165608

Change-Id: Ic61dd7f57f75381864075605d5901f2688648cbd
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
315d502edce27bb4e93e53134f1a43b8f5c45588 13-Oct-2011 Michael Kolb <kolby@google.com> Reduce size of menus

Bug: 5452031

Change-Id: I3cc638b981e50796293b0f61dac2d93b8e3df1a0
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
9dd4a4129b91343b7b21e2389519ff1a795a447d 05-Oct-2011 John Reck <jreck@google.com> Fix intent handling

Bug: 5405096
If state != null, don't process the intent in getIntent, it will be
stale

Change-Id: Icc854a1d8f11fdbd60c1f7f854053f2294864b0f
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
9ad1eac377ffa6ffd34afae4c6580b7ba7508c31 15-Sep-2011 Mathew Inwood <mathewi@google.com> Revert "Support for measuring page load times."

The page load time measurement was a stop gap measure until server side
support is ready, and we don't want to ship with it in.

Bug: 5266893

This reverts commit b4e831bf1ff62945199b89a77ad039be7bd16545.

Change-Id: Iafc08cea88774e5ecf018112a25e4dc2993a4623
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
b4e831bf1ff62945199b89a77ad039be7bd16545 05-Sep-2011 Mathew Inwood <mathewi@google.com> Support for measuring page load times.

An app can attached a pending intent to an intent sent to the browser
which will be send when the load completes. The browser will fill in
the timestamp of when the page load completed, and details of preloading
success or otherwise if this was used.

Bug: 5259031
Change-Id: I2d025caabd6055ac25f06e69897a03d5c57c4f41
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
6c2e2f34718043f36488b4a94879dc2605aaac49 22-Aug-2011 John Reck <jreck@google.com> Add bulletproofing to state recovery

Bug: 5166335

Change-Id: Ife9ef2da7664f8de6b0ff9655611efa78d84df05
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
e28b347fcc1df6e6bd41cb294d521a4f1e7c5c75 05-Aug-2011 Michael Kolb <kolby@google.com> close external tabs on back

Bug: 4466495
close externally created tabs
when the back button is used and no further
back history is available

Change-Id: If605474d929fb759226a1e1f4125bfaab43e6653
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
d3e4d5b4ffdf374b836ec9d4d3e315040c8c3779 14-Jul-2011 John Reck <jreck@google.com> Move ComboView to its own activity

Bugs: 5009130 3368824

Change-Id: I559bb88a1e759172ef9a7d2a8b41ea4c7e523ec6
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
29721c2c6cc7f79a52962556c4431b71bb3ce46e 29-Jun-2011 Mathew Inwood <mathewi@google.com> Add SearchBox support to preloader.

Depends on change: I0119243ed0e19e237c1f51de887af5c954f96693

Change-Id: I2a2d3ff3c9d0d79f34af4c8daee828fb4efd7519
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
1461244018a225006a8d4c203f9dfe294ffe94fa 24-Jun-2011 Michael Kolb <kolby@google.com> Preloading support in browser

Apps like the QSB can request the browser to preload a
web page.
- preloaded pages are not added to the browser history
if they'r not seen by the user
- when a request is received, a new tab is created for the
preloaded page, but not added to the tab list
- upon receiving the view intent for the preloaded page
the tab is added to the tab list, and shown
- if several pages are preloaded consecutively in the same tab,
the back stack is cleared before it is displayed
- preloaded pages use the main browser cookie jar, so pages that
have never been viewed by the user can drop cookies

Change-Id: I9ed21f2c9560fda0ed042b460b73bb33988a2e8a
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
db22ec4ee014900988062d910bc810172a07df56 29-Jun-2011 John Reck <jreck@google.com> Fix IntentHandler behavior

Bug: 4473779
Plus, TESTS! Huzzah!

Change-Id: I043e100d99d4653b7fb7885217d7fb305930a137
/packages/apps/Browser/src/com/android/browser/IntentHandler.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/IntentHandler.java
fd77aaaa6b1b79ba0438a78e357aa877552830b1 17-Jun-2011 Jeff Hamilton <jham@android.com> Launch into browser when a URL is received over NFC.

Change-Id: I32c6dcc4e257a32a341b9c2f165cd3764da08b64
/packages/apps/Browser/src/com/android/browser/IntentHandler.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/IntentHandler.java
7bcafde2ba532941c1eb8c9022eebd5398aeae2a 09-May-2011 Michael Kolb <kolby@google.com> refactor open tab code

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

Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
af0d334f54395798d44e300c5f4733af7d477bbe 11-Mar-2011 Michael Kolb <kolby@google.com> change app tab behavior

Bug: 3422554
allow apps to open links in new tabs
don't close tabs on back if they were launched from other apps

Change-Id: I3d58354cceca46c15761f70216fa63edb71f0545
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
2ed6e31fc7224313d668f8edcb4c9473f4710801 22-Feb-2011 Leon Scroggins <scroggo@google.com> When receiving the correct Intent, open a new tab.

Bug:3405773

Requires a change to frameworks/base.

Change-Id: I26475d76fa68dded8709708c156e2de441716d79
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
3db2e0733855aefa098ed55b1e5f81539e12e19c 24-Jan-2011 John Reck <jreck@google.com> Set user agent setting when toggling debug

Bug: 3382700
Set the user agent when debug mode is toggled

Change-Id: Ide167c7bb32c4f20e6b5965116fbcce01bb1e599
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
07af2b8ae04c6e4385e41e0c559280a995eb8035 18-Jan-2011 John Reck <jreck@google.com> Remove combo view on new intent

Bug: 3365077
Make sure we remove the combo view when a new intent is received,
after we check if the intent is to show the combo view or to bring
the browser to the foreground (from history and/or launcher)

Change-Id: If6e6647192246d96d7122232c26229b05a3f3888
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
4f4cb6bf0bd5c6f8aecc3965ff6eec7d13b53c1e 18-Jan-2011 Cary Clark <cary@android.com> allow dumping the nav cache from the browser

Adding this about:debug flavor allows dumping the
nav cache from a script over usb without user
interaction. The script for me looks like:

function pullnav()
{
adb shell am start about:debug.nav
sleep 1
adb pull data/data/com.android.browser/navlog /android/$1.cpp
adb shell rm data/data/com.android.browser/navlog
kate -u /android/$1.cpp &
}

which pulls up the nav dump into a local editor.

bug:3364574
Change-Id: Ie6b3491b4b9e4490d8229402f4f3770879eff36d
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
b92bbb498f1eeab477d62632c235d0a68a4f4ea2 05-Jan-2011 Patrick Scott <phanna@android.com> Do not merge.

Cherry pick:

Remove content:// from the Browser.

Disable content access in WebView as well. This requires a change to
frameworks/base.

Bug: 1196879
Change-Id: I00ca884654cbf53128f1e97389d2d8d44598e1c1
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
e1cab10c8690fbafa7765271621cce2b3961b9e8 04-Jan-2011 Leon Scroggins <scroggo@google.com> Do not attempt to reload when launched from history.

Bug:3315919

Change-Id: I6f9fa516790a481f9bc47f844c38915747cf32a2
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
991412749b1e0837ab602d77a2264a2186741a05 21-Dec-2010 John Reck <jreck@google.com> Fix empty url check

Bug: 3213668
Moved empty check after url fix and trim

Change-Id: I79422cae12eefa33db7a970c780db6c0cea16a28
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
30c714c853a4239e72ab1e238ce2a92472d06ab0 17-Dec-2010 John Reck <jreck@google.com> Overhaul handling tab data updates

Bug: 2127502, 3191165
Pushed some state tracking to the tab for URL, title, favicon,
and lock status. This allowed me to remove many duplicate methods
of updating that data, preventing the UI from getting out of sync
with the web view.

Change-Id: I995caa98068ad03ca37710207b5ab57bb9d801ab
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
439c9a58765aa6aab95d55422ee61ea8360e912d 14-Dec-2010 John Reck <jreck@google.com> Spec update for Bookmark widget

Bug: 3286323
This updates both the assets for the bookmark widget and slightly
alters its behavior to match the updated spec. There are now two
touch targets in the header, one launches the browser and the other
launches the bookmarks view.

Change-Id: I1e8864983852af8421280b86421dea1d9ed4335e
/packages/apps/Browser/src/com/android/browser/IntentHandler.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/IntentHandler.java
2b6bed9bcaee374c1e915bfa0bf76d4187f2ef4b 10-Dec-2010 John Reck <jreck@google.com> Fix empty url check

Bug: 3213668

Change-Id: I83a8bb68d44a0eb88b077d3892875f4ca11f08d7
/packages/apps/Browser/src/com/android/browser/IntentHandler.java
7fa9bb35acad5b02baf7d4f8401a318735191203 09-Dec-2010 John Reck <jreck@google.com> Fixes adding 2 entries to history on search

Bug: 3175520
Fixes a problem where search terms were being added as history
entries.

Change-Id: I86e462c53c0992de5cc5eff99b1bfd0a41e5a012
/packages/apps/Browser/src/com/android/browser/IntentHandler.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/IntentHandler.java