History log of /packages/apps/Browser/src/com/android/browser/BrowserActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9c35b9c41d756d59f5356edd2e08432e01f351f6 30-May-2012 John Reck <jreck@google.com> Prevent the monkies with a sledgehammer

Bug: 6515134
If we never have a null mController, we can never have a NPE!

Change-Id: Idf90b94e6557e0afd6dd92602b8e4dfd189218d1
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0ec3e9fae2fdaddfd4f13bc83059cf4c856d2cc9 17-May-2012 John Reck <jreck@google.com> Monkey

Bug: 6404028

Change-Id: I84935de2d159058c373551ebf22306381089ef05
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2b552f5154fb582ddfd3296eaa8ec35675edb613 14-May-2012 Michael Kolb <kolby@google.com> Monkey proofing

Bug: 6482880

Change-Id: I0fe14b6828098071ebd6dc4782cf092dc018ee3e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
40e7f350e0aee6308b03d206721fcf80cfff051f 09-May-2012 John Reck <jreck@google.com> Monkey

Bug: 6438833

Change-Id: Ia4a45612cdb91837b104b8cdd23c1a17e5b7ae91
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7878f22795aae08f49c489156846ef748b064e79 19-Apr-2012 John Reck <jreck@google.com> Only process intents if user-visible

Bug: 1873726

Change-Id: I2f5fe29bdf00e5ad441e8f50c89be64b93f7842a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3636d0a6d90fd8de55a4894210b2dbe23f32aac9 21-Nov-2011 George Mount <mount@google.com> Crash recover no longer uses icicle.

Bug 5508252
Changed load state to use the crash recovery state every
time instead of using icicle. When the state is saved,
the value is written synchronously.
Moved settings from CrashRecoveryHandler to BrowserSettings

Change-Id: I1a241d4c488fe3246c7d7f1ee0ce26c42ba29429
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ef8b0b9b978011e7899bada510b0fb2ea8708ae3 02-Sep-2011 Michael Kolb <kolby@google.com> Assign urlbar background to actionbar

Bug: 5242700
changed phone style to have urlbar background

Change-Id: I145480b25e1691281eaa0cc154eae5198c61fdc5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.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/BrowserActivity.java
56c1fcf7774d4ee943fbda808e37840459502e20 17-Aug-2011 John Reck <jreck@google.com> Faster all the things!

Bug: 5177959
Improve browser startup. Elinate IO access on UI thread during startup
by removing the super legacy ClearThumbnails task. Also rework how
the hardware acceleration debug setting works to remove the requirement
for initialized BrowserSettings in onCreate

Change-Id: I4c1014d380827af4833586e6a3ae842fd59aa48b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c3af06776be83ba64a0d3549cb72ca6e5e7f03cd 09-Aug-2011 Michael Kolb <kolby@google.com> Tab switcher animation

Bug: 5123884

first step towards animations between browser and tab switcher

Change-Id: I1d959d42d0036f3c4498972fcc8ad434fa7f4437
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1cf4b79a0020bc18c83ca8bde0e318ecd5252bc2 26-Jul-2011 John Reck <jreck@google.com> Restore overhaul

Bug: 5069192
Store thumbnails in a database restored async for each tab
Fix restoring a tab not restoring its current state

Change-Id: I2c14e352638aac0ef766fb3bf4036ff220c53ecd
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
bc490d2c32aac4e12069be1b92bfaf185ff5dbb5 23-Jul-2011 John Reck <jreck@google.com> Preload crash recovery state

Bug: 5069111

Change-Id: Ia19d7b3a8eb483fc4e9076fa388c82d8673894ac
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f57c029329e874399199259b5e69f4d0b8a12a38 22-Jul-2011 John Reck <jreck@google.com> Startup optimization

Bug: 5019676
Save one thread by letting CrashRecoveryHandler re-use the BrowserSettings
startup thread

Lazy initialize the wake lock only if we need it (avoids IPC overhead at startup)

Slight ordering shuffle in BrowserActivity to maximize the usefulness of the
BrowserSettings startup thread

Change-Id: I1fc7412d492f93e0630008fa6030da9e0d726ebb
/packages/apps/Browser/src/com/android/browser/BrowserActivity.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/BrowserActivity.java
d156adfc7abd9667fed08fd2c9c065d480b0f457 17-Jul-2011 John Reck <jreck@google.com> Null check

Bug: 5021967
Check if ACCESSIBILITY_SERVICE is null. Documentation claims this
is acceptable, and it probably is happening due to low memory

Change-Id: Ie12059236baedd8b149831ad24da74f79453fae8
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fbc579af4749526882c764cd176a167205306fe9 08-Jul-2011 Michael Kolb <kolby@google.com> catch search key in browser

Bug: 5003493
When in browser, the hardware search key brings up the
url bar for the current tab.

Change-Id: I57a666a548771c7e5949116db71d2164cb8972fd
/packages/apps/Browser/src/com/android/browser/BrowserActivity.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/BrowserActivity.java
aed9c54d8e67bb683a5a415b3775525a3ac00508 28-May-2011 John Reck <jreck@google.com> Prevent crashing in CrashRecoveryHandler

Catch Throwable instead of Exception
Don't save screenshots for crash recovery

Change-Id: I22c36dc644ae597c609880d2ced79436918d83a6
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fba541e7ca1ae088bf612d2d98fe4ce60b7c1e01 18-May-2011 John Reck <jreck@google.com> resolved conflicts for merge of e619f1e5 to master

Change-Id: I04de9e92a91cd66e848d37cbb07f7d36a4edba06
a5176f3e20d7bc0f07b1434f35c9458f40477644 17-May-2011 John Reck <jreck@google.com> Use tablet UI for large

Bug: 4443420

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

Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e6bf4abbb12a83fc0256d98d9d5cb36ee326f1ce 25-Feb-2011 John Reck <jreck@google.com> Fix back long press behavior

Bug: 3486271

Change-Id: I49eb218670b4082b1fcf6daaab025ec7e0be6b8c
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
dc2ee1bfb50b7bec0cf3215e3d298b246dc71101 14-Feb-2011 Michael Kolb <kolby@google.com> fix shortcut handling

Bugs: 3400078
3270434
3368141
3381411

Fixed controller to check for menu & ctrl keys for shortcuts
Changed focus handling in url bar
Keyboard focus transitions are not 100% working yet, but it's possible
to navigate to all the elements

Change-Id: I514d85a37dae2589e3ce1ecb18c7fc0bf4e715f3
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
9d27ff5437db16b7ca16ec8cea464aaefdacc17e 12-Feb-2011 John Reck <jreck@google.com> Make bookmarks useable-ish on phones

This fix just makes it so that you can actually see and get to
all the various controls. It is unpleasant to use, but at least
it can be used at all.

Change-Id: I43dabb337af61497ddee78cb07ffd04d2e9309b2
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7d50a9364107c21e3358e1dbc51a06359a5287fb 04-Feb-2011 Patrick Scott <phanna@android.com> Clear session cookies before attempting pre-login.

If ClientLogin issues session cookies, we do not want to clear them immediately
after getting them from login. If we are not going to restore tabs, go ahead
and clear the cookies before attempting pre-login. Keep track of the tab to
restore so that we don't need to figure it out again. Requires a change in
frameworks/base that exposes the CookieManager api.

If we receive a 403 from IssueTokenAuth, inval the auth tokens and try again.

Bug: 3421214
Change-Id: I5dd4cc0eba365a20a731ac43dd2571ef6274eaa9
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
cd135089d54a8c003f7b0a35d88b3230f0a206b5 01-Feb-2011 Patrick Scott <phanna@android.com> Re-login after a week.

Refactor GoogleAccountLogin to handle the progress dialog. Store the last login
time and login after a week to refresh cookies.

Bug: 3367395
Change-Id: I62a277610af5b642f51cc775f17806c558812d4a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a418306e08e008da99cef929c48e05d2a101ceaf 16-Jan-2011 Michael Kolb <kolby@google.com> hardware keyboard support

http://b/issue?id=3368141
http://b/issue?id=3368100
Removed duplicate key handling
added focus transition from page to url bar
once framework bug http://b/issue?id=3381411
is fixed, focus transitions in url bar will be fixed

Change-Id: Id5011e78bf70d51a25a4e01cf31d9e6ad95ceab7
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b3417f0a68a1efc64604ea354ae7f856ce79cb16 14-Jan-2011 John Reck <jreck@google.com> Bookmark UI update

Change-Id: Ibdf7f93f7c5863d7108044dcd40d3866ff02518a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
97efb1e650b356d3fc81ff531544383362759d77 13-Jan-2011 Patrick Scott <phanna@android.com> Skip auto sign-in if the user is already logged in.

Also delay dismissing the dialog to avoid flashing it briefly.

Change-Id: I86c23ccebc6ccaad1feac56bea4ddcfefe1607f4
/packages/apps/Browser/src/com/android/browser/BrowserActivity.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/BrowserActivity.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/BrowserActivity.java
6670653d355fea0ae20dc51f6c693f994c4cbb54 13-Dec-2010 Michael Kolb <kolby@google.com> Split UI based on screen size

Different UI implementation for normal and xlarge screens

Change-Id: I8217ffd16e1f87b248a22426b17fa34b3a4f89df
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
06f03e45b6adfa8aed9eca65aec6ed87dc1ca8f6 06-Dec-2010 Michael Kolb <kolby@google.com> fix NPE in onDestroy

Bug 3255996
In case of a search we might exit the browser without ever creating a
controller; added check to lifecycle methods.

Change-Id: I5fc358c31263ff63297a18944dce230f48886628
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
63bb687da46c285f6a71ff47c9f00e46111ffec2 02-Dec-2010 John Reck <jreck@google.com> Debug settings changes

Bug: 3250498
Makes OpenGL rendering and user agent normally visible in settings->debug
Changing the OpenGL setting now automatically restarts the browser

Change-Id: I04036b580f2463f77376edb4bee2dfefe3d123ed
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4155485914f9e47b8ab22000fe6ef8ddad1f70f4 01-Dec-2010 John Reck <jreck@google.com> Fixes test errors

Bug: 3248213
Fixes errors in the tests that were caused by missing files, proguard,
and the refactor.

Change-Id: I503dfc7ee42d0173e3a5ad032f58a6f4f310588c
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ef67165a877b1cd17d4afc6e2e17caa97fc399f2 25-Nov-2010 Ben Murdoch <benm@google.com> Make BrowserSettings.loadFromDb asynchronous

loadFromDb does a lot of disk IO, including accessing SQLite
and SharedPreferences. This should not be done on the UI thread.
With this patch we move it into an AsyncTask. However there is one
caveat with this solution - all settings must be read and sent to
WebCore before BrowserActivity.onCreate is called so we must block
there if the async task is not complete. This is better than doing
the IO on the UI thread though and fixes a load of Browser StrictMode
violations.

Change-Id: I0ab37ee9e95c682a59d6170a1327ae4ad1deceec
/packages/apps/Browser/src/com/android/browser/BrowserActivity.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/BrowserActivity.java
ffa561e00d3934de9451bf599a2d4f355a33041b 16-Nov-2010 Derek Sollenberger <djsollen@google.com> Allow HW accleration to be activated on demand.

This CL adds a debugging preference that allows developers to
enable/disable Open GL rendering on demand. The setting change
does not take effect until the browser is restarted.

bug: 3185844
Change-Id: Ifcf5a7b7d4ddbf02a649a28c4f462e2da3f34bb6
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
6c6e86f703501613fa1583a400feec410b57dc0a 16-Nov-2010 Adam Powell <adamp@google.com> Fix issue introduced by API change

Change-Id: I869f6a197721350cd2aa17be923364a901951a8a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
d7973056703d47fe37b0ee57c36350834aeda827 16-Nov-2010 Adam Powell <adamp@google.com> Updated for ActionBar API changes

Change-Id: I20d162c2921b1d8797594b162aaafd4a72aae607
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1d88aa02955a2579e38f6aeea56ec737a0310d62 05-Nov-2010 Vasu Nori <vnori@google.com> use new API (and not db) to access download notifications

instead of opening a cursor on the database to retrieve the file
to be opened when a notification is clicked on, use
DownloadManager's newly introduced API to get Uri and its
mimetype.
also, in BrowserActivity, when downloading a file,
allow it to be MediaScanner scannable and thus allow
media files to be displayed in Gallery.
by default, downloaded files DO NOT appear in Gallery
app any longer

depends on the following 3 CLs
I1f5dd734e394db0056579a3a0c26862fee27981e
I5c062ad6d1b58306044cee49ff3827e908d27fd9
Ia15000de4a66e8728b43fc53f428e098503b003b

Change-Id: Iad11a63fe0a7b8de188d1b6dc0445ccb96211fb2
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
09ccfc737f764131c16334a444c7b96ab751c402 28-Oct-2010 Leon Scroggins <scroggo@google.com> Open downloads from notifications.

Bug:3116742

When moving to the public API, notifications no longer
worked as expected. Make downloads show after completing,
and use the public API in OpenDownloadReceiver.

Change-Id: Ia15000de4a66e8728b43fc53f428e098503b003b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
5ba8da4dc38036f626deda8d0588a2f4694f3cad 03-Nov-2010 Teng-Hui Zhu <ztenghui@google.com> Remove the web archive UI from the browser

This is a change intended to remove this UI from honeycomb.
On the release after honeycomb, we are supposed to bring this UI back.

http://b/issue?id=3158570

refer to http://b/issue?id=2905874 for more background

Change-Id: Id9f83828f1bc5524c2dd2e46cf09f846f7916aed
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c54d328a499ec0c35f73e5cf57169541e8bf1cd3 29-Oct-2010 Vasu Nori <vnori@google.com> set http header 'cookie' before inserting download request in DM

bug:3136154
Change-Id: Id1c7547293e3b3779fffd21cd73717db8f2c4a1b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c6076533b489c17493640c14935324a30f582903 22-Oct-2010 Leon Scroggins <scroggo@google.com> Use the new public API for DownloadManager.

Bug:3116742
Change-Id: I5d0d9a12e1bd601cf6a95198578ce8f9acd81372
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
16f6fb9dabeb1351b026724e51c9f89b4935cc06 22-Oct-2010 Leon Scroggins <scroggo@google.com> Remove unused code.

Change-Id: I2b9eae20e0e519ce3d7cc59681afcc2ca72ba10b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
bc92285a27fa629d630d3ea0d0608f13a6de5dee 22-Oct-2010 Leon Scroggins <scroggo@google.com> Use constants in place of strings, and remove unused code.

Change-Id: I4d27cf74edefcabacffbfc59fa8fe28f5b592fa7
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
88d080394ca18120e05c6926b178fd6843ff9cec 21-Oct-2010 Leon Scroggins <scroggo@google.com> Incorporate save to home screen with add bookmark dialog.

Bug:2953515

Remove the initial popup menu when pressing the star that
selects between saving to home screen and saving to bookmarks.
Instead, once the add bookmark dialog is open, the user can
select between bookmarks and saving to home screen.

Change-Id: I35e8590ff6a2a7c2058e45e4f77ec6b5d209b0f9
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2573892d6dbcda5519fcc8bd2876a27c4c9502b1 12-Oct-2010 Bjorn Bringert <bringert@android.com> Rewrite HTTP auth dialog code

The old code reached into the AlertDialog view using hidden
view ID constants to pull out the title. I've moved the dialog
to its own class and made it only use public APIs.

Change-Id: I84f576ece09ca802091175e1f928ae0be4a35d07
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0506f2dd9239e23099244e101f7d32d5fc189668 15-Oct-2010 Michael Kolb <kolby@google.com> Fixed lock icon, url touch area, dropdown visibility

Bug 2989058
Bug 3098918

added light colored icons (not final assets)
added click handler to generic web icon
fixed suggestion adapter result count

Change-Id: I1842335be22eab6da2dd4187b2147e535a9ac77c
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
772927a9fa4acaafdef4ae3bde91cf0bb822ebd7 14-Oct-2010 Michael Kolb <kolby@google.com> fix history context menu bug

http://b/issue?id=2953912

Note: the bookmark status (star) is not correct
and will be fixed separately

Change-Id: I20d1e52e9d6f6aeb7c0f1c66a61bed4d001e9092
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4a906e1f2fa9932cbcb7b908ddd1f121c83b6bfc 13-Oct-2010 Bjorn Bringert <bringert@android.com> Remove unused drag tracking code

Change-Id: I1284704472178b0de6634e911fc88d37855b519d
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
370a4f3e47b740fd10b9028aae9e87e17254caa8 06-Oct-2010 Michael Kolb <kolby@google.com> new bookmark screen part 2

specs here: https://docs.google.com/a/google.com/present/edit?id=0ARMpWryWB2oaY2RkbmZwdnBfODc0Y2diYnBoNDc&hl=en
moved tabs to top
added bread crumbs view for folder hierarchy
changed thumbnail sizes for xlarge screens

Change-Id: I3035f299b343f9aa1ec0dd41772e5594cd6b21f5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
131ab511f73b573b76fe8e692b829df4fe89bd54 12-Oct-2010 Bjorn Bringert <bringert@android.com> Use getters/setters for WebAddress fields

Change-Id: If5be5f28ad0ba2dd7ed3caef587136dca120a055
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b1402a5c3e1617867c58d32d1fe9782cf6de423f 12-Oct-2010 Bjorn Bringert <bringert@android.com> Remove some unnecessary use of hidden APIs

Change-Id: Ie72947017550d759994e34d7db8087d1f9e6d63a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b67be57ae5f409d5e3d33ae0910da410d7c84dc0 10-Oct-2010 Leon Scroggins <scroggo@google.com> am da0d5462: am 956cf01e: Remove QuickSearch shortcuts.

Merge commit 'da0d5462c9c522ef19b61b43ed3294ec49193f75'

* commit 'da0d5462c9c522ef19b61b43ed3294ec49193f75':
Remove QuickSearch shortcuts.
956cf01ecde1442353a2af0bbce8779df6707b30 07-Oct-2010 Leon Scroggins <scroggo@google.com> Remove QuickSearch shortcuts.

Bug:3070691
Change-Id: If3a4214fea0bca8ee0b29c37d2bb67d8b3d00570
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e421c2472744ca7d35906f86204790ee97b91ca2 05-Oct-2010 Michael Kolb <kolby@google.com> update bookmarks & history page

convert combopage from activity to view
embed combopage in main layout
handle callbacks in BrowserActivity

Change-Id: Ie5f092f5de677a960181544e7519c2f7d5cb86c1
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
76a0e9ce21bc3ad4798f5f76b36b1d514e3595be 05-Oct-2010 Leon Scroggins III <scroggo@google.com> Move AddBookmark dialog to upper right of screen.

Bug: 2953515

Change-Id: I5150cb5b5ac2034eb5f4fdfcee2165b845facd5b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ebba8b4e9dc4f78764d6cfb26738b54d04bc9d27 30-Sep-2010 Michael Kolb <kolby@google.com> move new tab button next to tabs

http://b/issue?id=3052018
moved tab button
added new tab option to menu
http://b/issue?id=3052583
changed text from window to tab

Change-Id: I079636f29ea529915a5f8c3ad55b4b4c7afe579f
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
36fe2ebd81ae3fa7ad07caa629a4f7603fec1634 29-Sep-2010 Steve Howard <showard@google.com> resolved conflicts for merge of 52b4e956 to master

Change-Id: I1f7c15b71d52161309dfb6b453ec9b8e5f5df161
a827eca76c53c860dbf6c420897a4b814a58179d 28-Sep-2010 Leon Scroggins III <scroggo@google.com> resolved conflicts for merge of 8f918188 to master

Change-Id: I07a69b9b8856d4c792dd4f3e3a24250e22b67da1
5a862fcbbd5672fb85aa2f48d963a2dd4d1da940 28-Sep-2010 Steve Howard <showard@google.com> Update refs to DownloadManager, which moved to android.app

Change-Id: I65fdbabecfc7a91b4edd40ffccb29995b24f075f
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a682a3ccac02db69bd8708258aae263be4b22e72 27-Sep-2010 Leon Scroggins III <scroggo@google.com> Use the system downloads UI, instead of browser specific 1.

Bug:3034564

Change-Id: Id850854da7db9c1a36500c9eee9debad64bdf97e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
21ce4d295802db811873b46e7821abfa0540dab2 15-Sep-2010 Michael Kolb <kolby@google.com> new two column suggestion dropdown
http://b/issue?id=3039704

Change-Id: I8b32553682cc547c695d0089e6633ead77426869
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
bca3b6922f1fc20187689d8ca6ef28ff170c9440 27-Sep-2010 Leon Scroggins III <scroggo@google.com> am da9f1556: am cc14c8c4: Prevent a null pointer exception.

Merge commit 'da9f155662e8ea94bdda16e33b660769669148a7'

* commit 'da9f155662e8ea94bdda16e33b660769669148a7':
Prevent a null pointer exception.
cc14c8c4da26ff93a96078c7c9108682c23bd1af 27-Sep-2010 Leon Scroggins III <scroggo@google.com> Prevent a null pointer exception.

Bug: 3035805
Change-Id: Id6c7d2105087e3ad4b250da6d4944409d01e55a9
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
052ce667ce77c4fb3208c0b0dacba7be79c072d9 13-Sep-2010 Leon Scroggins III <scroggo@google.com> Beginning work on adding bookmarks with folders.

Bug: 2953515

Provides the basic functionality for the AddBookmark page, allowing
the user to save the bookmark in a folder of his/her choosing.

Change-Id: I170599b723069aaee661dae3fc1a0fb915793906
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
5feb8ad06b1000aec9403209b10b5d5210b2e241 21-Sep-2010 Cary Clark <cary@android.com> Do not merge: Don't show cab when invoking select text from menu

Leave the experiment intact for posterity.
Also, remove spurious comment.

Change-Id: I44519d4cf6843acf9aa056a6452e0e34216f2968
http://b/2626451
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
241f4f579230ae8394c71a5f10705d7f978ef535 17-Sep-2010 Leon Scroggins III <scroggo@google.com> am e6803818: am a9e35b6e: Prevent a null pointer exception.

Merge commit 'e680381839dee8d0ebdc6dd8cf882f66ea5c6c1a'

* commit 'e680381839dee8d0ebdc6dd8cf882f66ea5c6c1a':
Prevent a null pointer exception.
a9e35b6e3101fafb07e6bb4282e7dfc4dcfdc193 16-Sep-2010 Leon Scroggins III <scroggo@google.com> Prevent a null pointer exception.

Bug: 3004709
Change-Id: I0594f8725601cf0e99dd2809d3571af6bfe1a056
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
447c846b40a138975b657bc761eb860d13ff4ac2 16-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Create the download dir if necessary.

issue:2905874
Change-Id: Ica70d8f425f893f4ab353758e2a96e87ad7d8e67
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1a805652e389d9404ee0fda7c993a6202332e92b 07-Sep-2010 Jeff Hamilton <jham@android.com> A bunch of updates to BrowserProvider2.

The images are now shared between the history
and bookmarks tables so updates to one are
reflected in the other.

Added a parameter for specifying a limit when
calling query().

Added a combined view of history and bookmarks.

Added a way to get a distinct list of the
accounts providing bookmarks.

Added the ability to find the server unique
IDs for parent and insert_after when doing
a query for a row.

Change-Id: I9afa15bcf7ca68468793c49fbec701e516e4540e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
aad8c860666ce35d91874e8cac7fb97e88f2e58c 15-Sep-2010 Leon Scroggins III <scroggo@google.com> am 6ac51e2b: am 867c0465: am 430057da: Fixes for changing the search engine.

Merge commit '6ac51e2b2defbc33834ec92d8a3e7c904f20811e'

* commit '6ac51e2b2defbc33834ec92d8a3e7c904f20811e':
Fixes for changing the search engine.
d69f51ddd5b6c28c9d16725e65facaf830d650e1 13-Sep-2010 Bjorn Bringert <bringert@android.com> Add user-selected search providers to browser

The lists of search providers are taken from Chrome.

Change-Id: I320f43f06d3a79a3b7a065c73859853dedf0a6b5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
867c0465e9f5bd5da410fd9b721050d9e2c36c9c 14-Sep-2010 Leon Scroggins III <scroggo@google.com> am 430057da: Fixes for changing the search engine.

Merge commit '430057dad085f3c3dbc386f127b1f5a10a9851da' into gingerbread

* commit '430057dad085f3c3dbc386f127b1f5a10a9851da':
Fixes for changing the search engine.
430057dad085f3c3dbc386f127b1f5a10a9851da 14-Sep-2010 Leon Scroggins III <scroggo@google.com> Fixes for changing the search engine.

Provide a default value for the Select search engine preference.
Move the Select search engine preference into advanced settings.
When opening the SearchDialog with a SearchEngine other than
Google, add a flag to hide the voice search icon.

Depends on a change to frameworks/base.

Change-Id: I6da2e582789253b3c5ffac9fe1ad3732f99f28ea
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8bf09b6200101c050af76118e1980ac2ccf2a0c5 14-Sep-2010 Bjorn Bringert <bringert@android.com> am d2670653: Add user-selected search providers to browser

Merge commit 'd26706538834e0ed58bf28f08d9a2885c0e7efcb' into gingerbread

* commit 'd26706538834e0ed58bf28f08d9a2885c0e7efcb':
Add user-selected search providers to browser
d26706538834e0ed58bf28f08d9a2885c0e7efcb 13-Sep-2010 Bjorn Bringert <bringert@android.com> Add user-selected search providers to browser

The lists of search providers are taken from Chrome.

Change-Id: I7af6dc1258950d1fc5cf86013f8be9f3c5db0f1a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c7485ae06c6d5d33c57a03d02bbeed54edb3c66f 03-Sep-2010 Michael Kolb <kolby@google.com> checkpoint for moving UI to Holo style
mostly final assets
dialogs are not styled correctly

Change-Id: Ib98312ca9465ded3efc2743f9828fe9a815814cc
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
47654f464e2ecd65fb049817201fb00a9f8fe29c 07-Sep-2010 Jeff Hamilton <jham@android.com> Quiet some logs in private browsing mode.

Also, always direct load URLs in the WebView
when in private browsing mode so external apps
can't intercept the URLs you visit and they
aren't logged by the ActivityManager.

Change-Id: I727a94220d35c242fa0a0cd7f52d483c1a935cd0
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
bdc2a2420281c96a09bd00136cf9b1244b35ed2b 07-Sep-2010 Michael Kolb <kolby@google.com> fixed multiple tabs selected bug, open new tab to home page
http://b/issue?id=2975213

Change-Id: I21c37cb54ab309568386e0bc5f83a30bb16779b8
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
23cbeb795fe865a5c64f275bf51217fb55363cc0 01-Jul-2010 Cary Clark <cary@android.com> DO NOT MERGE
remove save/restore picture from browser app

These pictures may be arbitrarily large, and with the
newer caching mechanism, are rarely used.

Also, remove any old pictures when the Browser starts.

Change-Id: I0277a08735dc40e0495bf78c68fee5d95b913e27
http://b/2650945
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
68775756e20243d73f273e4ce25ff3edeb148e41 19-Aug-2010 Michael Kolb <kolby@google.com> disable zoom buttons

Change-Id: I6b99b74bb1930c6a66903bd4894f51f3aaf33e89
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f3026374dccf7b491152946c5d0e42daec08d899 19-Aug-2010 Jeff Hamilton <jham@android.com> Make the bookmark thumbnails larger.

Change-Id: I33e72e55e0cad9c73b3c50cb30277ed22eb511cb
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
aba242c3435b444fdc7b0c7620175d3aa6358017 02-Sep-2010 Elliott Slaughter <eds@google.com> Fix for saving a WebArchive when the external storage isn't mounted.

Change-Id: I572da2013b5ba988c899ba2f64453dfc908b4fec
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3d6df16f1c9a64cf2dc5b41a2078f4c49b0c296a 25-Aug-2010 Elliott Slaughter <eds@google.com> Browser incognito mode session expiration.

Change-Id: I3736ce91bd5ecbcead7a80228680c9fcbf7c374b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e440a88fd81c86d1ca6fc18b8b3f68e383e574b4 20-Aug-2010 Elliott Slaughter <eds@google.com> Cleanup temporary incognito mode files after last tab closes.

Change-Id: Ia685fb162d7449d2cd850e87607eff39cc8893a5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4fc12cbfe150afe12059ceb5bfa4a497ef20072d 24-Aug-2010 Leon Scroggins <scroggo@google.com> Move Find on page and Select into the framework.

Bug: 2938052

Depends on a change to frameworks/base

Change-Id: I28db6d06fa248913091455e82853ef151a0561b0
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c50e71a184ed1963d2358e92b4e196653d0a29fa 27-Aug-2010 Bill Napier <napier@google.com> When checking for possible RLZ insertion, only check http Uri's.

BUG: 2952725
Change-Id: I0b8808b8b9c53d46ef40c75dd134c8e0bc5ef28a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
d003543b04ddd19de116cc51bffb50c1d97d7109 30-Aug-2010 Patrick Scott <phanna@android.com> Fix browser crash.

I'm looking at you, Derek...

Bug: 2947089
Change-Id: I7a51c7007f46b9e0a2ec1d8ca6d66b879c565aca
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
784b02bfb63c0390c630c4eabd3db9276e2561b6 26-Aug-2010 Mattias Falk <mattias.falk@sonyericsson.com> am 399c6b8e: am 552751ea: Avoid crash in browser in systems with no search provider

Merge commit '399c6b8ec5b4fda71bbf67edd7e9dcb7fb5b8f00'

* commit '399c6b8ec5b4fda71bbf67edd7e9dcb7fb5b8f00':
Avoid crash in browser in systems with no search provider
399c6b8ec5b4fda71bbf67edd7e9dcb7fb5b8f00 26-Aug-2010 Mattias Falk <mattias.falk@sonyericsson.com> am 552751ea: Avoid crash in browser in systems with no search provider

Merge commit '552751ea92828f8b78b71533dbba70aa7c316d9d' into gingerbread-plus-aosp

* commit '552751ea92828f8b78b71533dbba70aa7c316d9d':
Avoid crash in browser in systems with no search provider
300b7f0951f3688a8e41f190b57cbf8b3bc06170 25-Aug-2010 Michael Kolb <kolby@google.com> fixed new tab flow
bug: http://b/issue?id=2911248
a new tab with the home page is created before the combo page is shown

Change-Id: I6bf71810a719125cc426480e33fe70aad73729b7
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0998b0a02bcb8606881df8ed6ae204b5367ca4f9 24-Aug-2010 Michael Kolb <kolby@google.com> fixed Combo page for phone screen

Change-Id: I43261d95d896db0bc07ff7db02466050d7c6a242
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
91b3ea72d8730fbf9b0d1d8aaf33053c72f9208d 23-Aug-2010 Derek Sollenberger <djsollen@google.com> Move APK monitoring into WebView.

This CL removes the logic for monitoring apk's from the Browser and
a companion CL adds the logic into the WebView. This allows
applications other than the browser to use special features offered
by YouTube and plugins.

Change-Id: Ifc0cce3a8c23515d79ae4c09527aebdd773f3ef3
http://b/28364603
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8389e996e600cf51d85fa29b4de12f69e34ccd2d 21-Aug-2010 Elliott Slaughter <eds@google.com> Fix Browser incognito history for intents initiated in the same tab.

Change-Id: Ic3e8168ded978226eeace1fb86960082e8b9ebfd
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
552751ea92828f8b78b71533dbba70aa7c316d9d 23-Aug-2010 Mattias Falk <mattias.falk@sonyericsson.com> Avoid crash in browser in systems with no search provider

If there's no activity registered for the intent (action)
ACTION_WEB_SEARCH the browser will crash if a search
query is entered in the browser. The crash is avoided
by catching the ActivityNotFoundException.

Change-Id: I021d3210654bb3aa08ccdd15abea86ef415282b1
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3f65c3831ff82a20f6f0edb08df2d7edae540044 21-Aug-2010 Michael Kolb <kolby@google.com> UI work on CombinedBookmarksHistory
Adjust the CombinedBookmarksHistory activity to leave TabBar and UrlBar visible
Enable clicks on the top bars to propagate back to the BrowserActivity

Change-Id: Ie6aed7dc0777d31dafc7c31807adf17a60f57767
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2c326e62316884a20822035c5470168d0e3b89ff 20-Aug-2010 Cary Clark <cary@android.com> DO NOT MERGE Refactor find and select dialogs

(Cherry picked from master, https://android-git.corp.google.com/g/#change,53491 )

(This is a work in progress -- assets in particular are not final)

Use common code when showing the select and find dialogs. Both
now use similarly constructed contextual action bars and share
resources where possible. Both share a common base class so
supporting code can communicate with either.

Companion changes in frameworks/base and external/webkit

Change-Id: I476fc72b3386348bc25bcf0a3d30482dea543efe
http://b/262451
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
43610292590fe3e2f8d0ddba1adf9e5557c0f401 17-Jul-2010 Jeff Davidson <jpd@google.com> Add RLZ support to Browser.

RLZ assigns non-unique, non-personally identifiable tracking
labels to client products; these labels sometimes appear in
Google search queries. See http://code.google.com/p/rlz for
more info.

Bug: 2927060
Change-Id: I992cd2859d590616df57293adb7ac22038088d49
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ae62fd48652f989335db21a03d8289ecc5b57e88 19-Aug-2010 Michael Kolb <kolby@google.com> incognito mode added for large screens

Change-Id: I8a3b479acc50c7e658e5d24e83ccf9256f4bf592
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
627d96f1564e9f95d8258958b35467057ff4c6b8 19-Aug-2010 Elliott Slaughter <eds@google.com> Fix Browser crash on search in new Browser session.

Change-Id: I7e96b062223c8ed2a15610dd52fa3b65656710d6
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
64144e49208df145c8362dfa037335c7b9210167 18-Aug-2010 Jeff Hamilton <jham@android.com> Switch the bookmarks and history over to fragments.

Change-Id: If4edc97d1115bfd261136d5b8cfc82afa21f8ced
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8ce956c6076a89aae85856f35b94bad7fc8fa1f1 17-Aug-2010 Jeff Hamilton <jham@android.com> Switch the history management over to the new provider.

Also fix up a bunch of bugs causing things like
thumbnails to not be stored properly.

Change-Id: I5758ee108734d9b50e741822dcbe86b7cc834e8e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8e4fbf1b26c2cc05a56ba2d4e7d1eda7d1574e91 17-Aug-2010 Leon Scroggins III <scroggo@google.com> Use ActionMode for Find-on-page and Copy.

Bug: 2641352
Change-Id: Ib5c0dd5997457a8d7b9a5c3e5a3727acc6a2f367
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8402962ef58546d3cfd48fbb211b5e36df0f118e 05-Aug-2010 Jeff Hamilton <jham@android.com> First revision of the new browser provider.

This one has support for bookmarks sync,
has the bookmarks and history in separate
tables, and supports hierarchical bookmarks.

Compatibility with the old APIs is not yet complete.

The Bookmarks UI has been switched over to the
new provider. Creating bookmarks puts them
in the UIs root folder.

Change-Id: Ib21713ddd19f43d178d49dbac977f749e7103368
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ed217745066c160f785626e9a15ebe70af5e25e4 11-Aug-2010 Michael Kolb <kolby@google.com> switched to using action bar for large screen

Change-Id: I33b6bcd78d4983e0ce1b503d3756687588dd8ed0
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
68792c84eded7f83e2f086d3efe81f9cfc07f9c3 10-Aug-2010 Michael Kolb <kolby@google.com> New tab flow through Bookmarks/History screen

Change-Id: I0f21279fea33582229f16f37bf813ad1fca15fc2
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a2b2ba8da913f26c820e49d3e43158e2fe6ebeba 05-Aug-2010 Michael Kolb <kolby@google.com> UI revision for tabbed browsing
bug # http://b/issue?id=2712871

separated tab bar from url bar
subclassed webview for scroll listener
added search button support

Change-Id: Ib9bd0c7e815e2ef08cdd20334daf61263cd52938
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f0f03954b3092296c58dcb040e2dabd1696dd5c4 15-Jul-2010 Elliott Slaughter <eds@google.com> Initial work on browser incognito mode history feature.

Change-Id: I5d1575a9b74704abc313b322ae08ca7caaccdc69
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
80f32627140aefe828ad539f66fc439d1580bae7 05-Aug-2010 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Ibd26d72bbe94c7de66849310d1cca0b75fb83963
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fe25199a6f975c67d28afcc1de56b0f987b66cd8 09-Jul-2010 Michael Kolb <kolby@google.com> tabbed title bar work
bug # http://b/issue?id=2712871

added tab bar
added tab status callbacks to Tab and TabControl
added compact progress/stop/refresh button
added UrlInputView for auto-complete suggestions
modified BrowserProvider for url input suggestions
modified BrowserActivity to use TitleBarXLarge

Change-Id: I62db2be5b89f4c4f27c09dbc6fee7b3b0d5e91b5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b4b83182219908210d4554466367736692faf6ce 01-Jul-2010 Cary Clark <cary@android.com> remove save/restore picture from browser app

These pictures may be arbitrarily large, and with the
newer caching mechanism, are rarely used.

Also, remove any old pictures when the Browser starts.

Change-Id: I08e1720a198b159733fda819304dc6af6811390a
http://b/2650945
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
039bd47edd231965abb2c8e9b2dd32308cddb74b 21-Jul-2010 Ben Murdoch <benm@google.com> Add support for accept type="audio/*" and audio/*;capture=microphone in the Browser
file picker.

Change-Id: Ie2da87381f020e2d66791e8214ff14dc4ed3b8da
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ccb5de06714993c28d16f1e5abfcd9f0b1e656fc 19-Jul-2010 Ben Murdoch <benm@google.com> Fix NPEs after merge of d159ec534823b87f9896843e95912b0df8c27e16 from open
source master.

Change-Id: Ief98236102983698e4b753ec9649142761c86607
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b50d7403816f316fdcaf5b5a318383e64f1a8775 16-Jul-2010 Ben Murdoch <benm@google.com> Capture API updates from new specification
http://dev.w3.org/2009/dap/camera/

Replace "source" with "capture" and "gallery" with "filesystem".

Change-Id: I6b95d2a24c8e8795e4cab62a023511047bb6ea26
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0ced08c2332b6e3af5bc31a12568840e9160bb6a 30-Jun-2010 Elliott Slaughter <eds@google.com> Browser save page as web archive.

Change-Id: I01366f575f61fd6e2084ad003b860f5c6083258e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
eecb4e6cb64af03aad3f9facdbf6fd7190091b41 06-Jul-2010 Ben Murdoch <benm@google.com> Improve the visibility and discoverability of the "add shortcut
to home" functionality in the Browser.

When the user selects the bookmark button adjacent to the URL bar
they will be prompted to either add a new bookmark for the current
page or add a shortcut to the current page to their homescreen,
rather than being taken to the bookmark management activity. The
bookmarks button on the options menu will still take the user
directly to the bookmark management activity.

Bug: b/2794945

Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
6af492aeddda96c749142885e3b49455aa336309 15-Jun-2010 Ben Murdoch <benm@google.com> Add camcorder support to the file picker.

Camcorder will now be supported in the upload dialog for blank accept types,
*/* or video/*. Additionally web developers can specify "video/*;source=camcorder"
to jump straight into the camcorder activity, or "video/*;source=gallery" to jump
straight into the gallery filtered for videos.

Change-Id: I5eb48273c71add12075b537fb56b17d5776ef40d
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
87cc65d95c80c5e3a1c343ad5177a7dc2de874f6 29-Jun-2010 Ben Murdoch <benm@google.com> Make size of the webview screenshot configurable with width/height parameters.

Although not visible at the moment, this is to enable us to take full-res
screenshots to use as splash screens for the Web App runtime.

Change-Id: Ib4e0e704e437f1b339e3bd0a814383dd355b9e93
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e0a3666b5c0dca7352895fa8b9b4fbb2237df721 29-Jun-2010 Michael Kolb <kolby@google.com> fix related to bug http://b/issue?id=2101719

adjusted menu for large screen
introduced new menu-xlarge for tablet menu
added menu-normal with tablet menu for testing purposes
added shortcut items to tablet menu

Change-Id: Ic23cc7ccc02f57dca07fbd151c77dc490422874e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
91f65fccfd6feae560a42abdd3385ca3318f0430 29-Jun-2010 Leon Scroggins <scroggo@google.com> Prevent a null pointer exception.

Change-Id: I6daa89bebcfd1168c76d214cf56ad1e9c18b2a58
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e7fe26bb1af55ec9e1535dcff8c9611692a7132d 29-Jun-2010 Grace Kloba <klobag@google.com> If url hijacking happens on a newly opened child window,
close the child window after switching Activity.

Fix http://b/issue?id=2764723
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
654899b4b7a280efc01aac4977b74369024e5c94 25-Jun-2010 Leon Scroggins <scroggo@google.com> Update the lock icon when closing a tab.

Bug: 2790724
Change-Id: Ia7431b033bd2b56629457fe38b392504862f26c5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
01cfcdd0b77d672f5c09d98af683c6732c8250d8 04-Jun-2010 Cary Clark <cary@android.com> Refactor find and select dialogs

(This is a work in progress -- assets in particular are not final)

Use common code when showing the select and find dialogs. Both
now use similarly constructed contextual action bars and share
resources where possible. Both share a common base class so
supporting code can communicate with either.

Companion changes in frameworks/base and external/webkit

Change-Id: I62e15afd2730444985f8dbd2472df3cae351f47a
http://b/262451
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
571b3762a5eb9e492283e0a1e437edd209fdc0de 26-May-2010 Leon Scroggins <scroggo@google.com> Initial work on new browser bar

Bug 2712871

Change-Id: Id1c76b05a5f126a4a68369a32dda8975fc1d2e6b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
07d3473804cdfd646b39001ca80ebf530e8f8749 27-May-2010 Ben Murdoch <benm@google.com> Broadcast to the media scanner when the user takes a photo from the file picker so that it
gets added to their gallery rather than lingering inaccessible on the SD card.

Change-Id: If7e67ff5b5126964f5e6cc1853e435abc2d75c40
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e56a0f21b2c1483e1854d31050bbcb10693dc0e2 27-May-2010 Grace Kloba <klobag@google.com> Plugin may have Java components. So always refresh
if the package has been changed.

Fix http://b/issue?id=2718983
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
9e997c7c92175c8e24cef90e265cc35fd9b8710e 26-May-2010 Leon Scroggins III <scroggo@google.com> Use the URL stored in the nav cache to open in new window.

Previously we passed a message to find out the URL, which
introduced a delay before the window was actually opened.
A possible result of the delay is a crash. Remove the
delay and prevent the crash.

Bug 2714880

Change-Id: Id1579adc258ff9b386d2dc08c3456b336cdbcc37
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
62b1b7ef20a1c9f4c6e6f7b73140701b3c6193c5 19-May-2010 Ben Murdoch <benm@google.com> Add support for the camera as a source for the file picker.

Determine whether to show the camera based on the accept type associated with
the input element.

Change-Id: I48fea76fbd7a1f3df3c87288f28e01a32d9e955e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
d746a94137a87ffcc1fcefdac9a3764c3bc3f5cd 19-May-2010 Leon Scroggins <scroggo@google.com> Leave the title bar at the top of the screen for xlarge screen layout.

Since the title bar is always at the top of the screen, there is
no need for the fake title bar, so it is unused.

Bug 2697366

Change-Id: I4aa2472cd747ed662b97713ff9c67f15e4c57e35
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2b34599c39d2c04c242d2a0ed755705fc414541d 06-May-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility content provider responsible for user script injection

Change-Id: I3ce7f684b69cc8e904dd4cf1f557b20987e8c6a5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
79e36d97b67bf06b1e0c0edf773882e93a3293e4 29-Apr-2010 Leon Scroggins <scroggo@google.com> Move the find dialog to the top of the screen.

Adjust the animations for the new location, and remove
the browser bar when Find is showing.

Bug 2667046

Change-Id: I565106b6c7e02200ed45ae145033447a8931af62
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3e20445506307d2c8d699e1d17fb82a0cedde1d0 10-May-2010 Leon Scroggins <scroggo@google.com> Use the text in an anchor as the subject line when sharing a link.

Bug 2652226

Change-Id: Ibebf6ee5fcb9a92bf377e5133a4249ddf5da9e18
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
211ba54a3052f7e68bf8af035ea1ef4e9445130c 19-Apr-2010 Leon Scroggins III <scroggo@google.com> Allow interaction with page while Find is up.

In order to do this, I have changed the FindDialog from
an actual Dialog, which steals all touch events, to
a Linearlayout, which rests below the WebView.

Also dismiss Find when the user opens/closes a subwindow,
or navigates to a new page.

res/layout/browser_subwindow.xml:
Add an id to the holder for the subwindow, so it can be
used to add the FindDialog.

res/values/styles.xml:
Remove the style for FindDialog, as the animations are
now added in code (since FindDialog is now a LinearLayout,
which has no theme).

res/values/themes.xml:
Deleted, as the only theme there was FindDialog, which has
been removed.

src/com/android/browser/BrowserActivity.java:
closeFind is now the starting point for removing the
FindDialog, so that it can be called from Tab.
Close the FindDialog when a new page starts loading.
Call showFind on the current Tab.

src/com/android/browser/FindDialog.java
Change from a Dialog to a LinearLayout, so it can be
inserted into the layout.
Call closeFind directly, which now calls dismiss.
Perform the animations which were previously part
of the theme.
Remove the call to set the height of the find dialog,
which is no longer necessary.
Open and close the IME when opening and closing Find.

src/com/android/browser/Tab.java
Change pointer to mContainer to a LinearLayout, which is
used to add the FindDialog.
Add a pointer to BrowserActivity to SubWindowClient, which
is then used to close the FindDialog in onPageStarted.
Close find when adding/removing a Tab or its subwindow.
Add showFind, which attaches it to the layout for the tab,
and closeFind, which removes it from the layout.

Requires a change to frameworks/base

Change-Id: If6745fb65c5628da827781a7b98061e87b279844
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a563d09392905140893d7a017dd63721577e1953 19-Apr-2010 Leon Scroggins <scroggo@google.com> Click on notification for unfinished download, open downloads page.

BrowserActivity:
Use OpenDownloadReceiver as class name, so that it will handle the
notification from download manager.

OpenDownloadReceiver:
If the download is not complete, show the downloads page.

Bug 2606772

Change-Id: Ifeeac0943650552c6da232cf98088bbf958fd403
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8588d15a7c0b87049469fd80f9c53eb274cd837b 15-Apr-2010 Leon Scroggins <scroggo@google.com> When loading a new Intent, remove appTab association.

Bug 2598904

Change-Id: Ib4ef625606ccdae4b24efd0761f416e4851ca800
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
cb192b548d227e202d9a9d724e65493cbec91ab9 14-Apr-2010 Patrick Scott <phanna@android.com> Update screenshots in a background thread.

Bug: 2591404
Change-Id: I380c77c1144a40b955b4fff321eb75c1c0765606
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4720868afa09efffadd845019f2d8268ae3f2c78 07-Apr-2010 Leon Scroggins <scroggo@google.com> Treat voice searches from within the browser differently
from those initiated from outside the browser.

Fix for http://b/issue?id=2546173

For a voice search initiated from outside the browser, an appId
will be attached. In that case, try to reuse the application tab.
In TabControl.recreateWebView, treat this as if the url does not
match the old url, so a new WebView will be created with a fresh
history list, and the back key will exit the browser. However, if
no appId is provided, simply reuse the current tab. In this case,
the history list will be preserved, and pressing the back key will
return to earlier voice searches.

Change-Id: I9ec1efd56454ba94eb2bc348c4476fb6bd025dad
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ab168ba86162b4e89e74d0a077b9c618437cbce4 08-Apr-2010 Cary Clark <cary@android.com> use 565 bitmap instead of 4444 to improve quality

http://b/2577416

Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
65190702c53f2d3ceb8e3c88d707bd6ff874034c 03-Apr-2010 Grace Kloba <klobag@google.com> Show the faked title bar even content height is 0.
Otherwise for the new window, we may have a long
delay for showing progress which is only shown in
the faked title bar now.

I verified that we still get the benefit from the
previous change by moving the faked title bar from
sub panel to its own window.

Fix http://b/issue?id=2568875
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
847c25b877f1c912fe54ba7d3890df7ed3798e47 31-Mar-2010 Grace Kloba <klobag@google.com> Reduce reported "Displayed activity com.android.browser/.BrowserActivity"
time from random 3~5s to consistent ~2.5s assuming
no apps need to be killed in the start up.

Move the faked title bar to its own Window instead
of the sub panel of the main window. This way Browser
can start when its main window is ready, instead of
waiting for both windows are ready. Also we don't
depend on mBrowserFrameLayout for the y position.
We also don't need to check decorView's window token.

Delay the fake tile bar starting time until the main
window is ready. This way we ensure the main window
will be drawn when it is ready. Otherwise the window
manager will wait until all the current windows are
ready before showing them.

Fix http://b/issue?id=2548712
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fa52d17a04294c245d6b00180bbe03560390c967 25-Mar-2010 Kristian Monsen <kristianm@google.com> Fix for bug 2538060. Decoding and encoding an URL.

Just encoding [ and ] instead of decoding and encoding again. This is because decoding is not a reversible function so we might not always get back to
the same URL.

Tested against bug 1634719, which this was a fix for.

Change-Id: I041820c15e0a0cf2e6a20bea3801e8b5039d39d5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
95a53b25504f12c3a5f8ecbbfcff7ac1dc047e4f 25-Mar-2010 Steve Block <steveblock@google.com> Fixes browser to store and read HTTP authentication credentials in the correct WebView.

Change-Id: Ib9831e7985232a5f362ef529d1aec2ee1e4fbecd
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ff4d92ca529f8b77db67d0aea5d9988d5e390211 25-Mar-2010 Cary Clark <cary@android.com> fix monkey-triggered crash

While we're in there, change to void since callers never
use boolean function result.

Change-Id: Ia62f9dd5bac252a17bcc5086daed1407a2dbb4ff
http://b/2544188
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a7611811e0d744a7220b7bf80c8f795af5ea53ed 24-Mar-2010 Bjorn Bringert <bringert@android.com> Use system setting for default geolocation permissions

This reverts change I0be5dbf4d99d07ca13b07fb299155c5aa17a51bd
and adds an observer on the new default geolocation permission
secure setting.

Bug http://b/issue?id=2535598

Change-Id: I4edcbd3080b7d3af5dc6d74f26779b6d92248010
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8d06e36fe80f516e04ad33ff8b446720e36cabfd 24-Mar-2010 Leon Scroggins <scroggo@google.com> Use AsyncTask when calling Browser.updateVisitedHistory

Previously updateVisitedHistory itself used an AsyncTask, but
since that method could be called from a non-main thread, move
the AsyncTask to the call site.

Part of http://b/issue?id=2539948

Change-Id: I9a70130ab125490fa96964ea9637eba67732180a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1f10cbfca5bf96e1466e0ed3ce1dbcd6fcfd0608 22-Mar-2010 Cary Clark <cary@android.com> reject unhandled key events if browser is paused

http://b/2532511

Change-Id: Idd08b90d3a5dec61c9328eecda834f2fcc7d16f5
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
13f9aced9c949d452a5cb44ffc55c82f97871c89 19-Mar-2010 Grace Kloba <klobag@google.com> Update the browser title bar background asset

Remove the shadow in the faked title bar.

Fix http://b/issue?id=2521294
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b8a844da0049965b3cef5739dbab19c7ac766762 18-Mar-2010 Leon Scroggins <scroggo@google.com> Close the SearchDialog when a new Intent opens the browser.

Fix for http://b/issue?id=2522723

Change-Id: Idf5d878d45b40be93a222385111a87ec32aa2f1b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
9191a7f745c965cf57df94d0628890b413c710c9 18-Mar-2010 Leon Scroggins <scroggo@google.com> Show a toast when a download starts.

Fix for http://b/issue?id=2524416

Change-Id: I0f6502a8e6a6041da144d94e2a0e7abdcfca687e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1542f74d866056aac0cc5ffc328940a4b8ba626c 18-Mar-2010 Grace Kloba <klobag@google.com> Do not call invalidate() in draw(). This improved
Browser loading performance by 10%. Loading nytimes.com
on Sholes with plugin dropped from 30s to 26s.

As FakedTitleBar is shown while a page is loading,
there is no need to update the WebView TitleBar's
progress which is always behind.This improved Browser
loading performance by another 10%. Loading nytimes.com
on Sholes with plugin dropped from 26s to 23s.

Fix http://b/issue?id=2520517
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
6eac63e78d43d04e31c4d16830c44c4d9df82639 15-Mar-2010 Leon Scroggins <scroggo@google.com> Do not destroy the backforward list when doing another voice search.

Fix for http://b/issue?id=2516327

Change-Id: I0daf8ba6e24be6682d849107914877fb0c31ec4f
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
98d5fce7c687cfcc956b10d44946d31f39b6dc15 16-Mar-2010 Shimeng (Simon) Wang <swang@google.com> Remove the logic of setting dasher account's home page.

Bug:2300219
Change-Id: Ibe790a7aaa812b5262c53f542539deead628dc77
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
945f1007f7574b317e04a43669d092cfc9e5d69c 15-Mar-2010 Leon Scroggins <scroggo@google.com> Force a load when getting a new intent from voice search.

When reusing an app tab, we generally do not reload in the case
where the URL matches the old URL. However, in the case of a
voice search, both URLs are "", because the information is held
in UrlData.mVoiceIntent. If that field is not null, load the
Tab, which will load the new voice search.

Change-Id: I0ba60b1e482cf1fd1b95e4dab969527f18096cc1
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2c0f611fab8c0a24365c0dd5cbf0a90f70f314c8 13-Mar-2010 Leon Scroggins <scroggo@google.com> Close Cursors when finished with them.

Change-Id: Idf284f59b05b3f5b3565f7374899927a70f3ca07
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
161974f7f198e1e821297ab1aa46f9f124a972ed 09-Mar-2010 Shimeng (Simon) Wang <swang@google.com> Avoid potential NPE if storage manager is not properly initialized.

Bug: 2498939
Change-Id: I92a14fdcb949d748bebec0a357d8baad37aeb46e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fbb3f15f725e890837431f402b43e802045a4f3f 09-Mar-2010 Leon Scroggins <scroggo@google.com> Use a special flag to tell SearchDialog to show the microphone.

Fix for http://b/issue?id=2501400

Requires a change to frameworks/base

Change-Id: I002a7b8320d3927b2e93b7fbbd43537208fb7756
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
003a5ddf3a7ff1b30bfd82cddc8da49cb9fedf15 10-Mar-2010 Leon Scroggins <scroggo@google.com> When reverting the voice title bar, display the url.

Fix for http://b/issue?id=2503151

Change-Id: I8beda0135631d18cc65f5a59dde46142d0c18b08
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
aa37e7fdb52d0180b8eea25d53950c5c0791f968 05-Mar-2010 Leon Scroggins <scroggo@google.com> Ensure the fake title bar shows during loading.

Previously, if the BrowserActivity was paused when the page starts
to load (as when loading from bookmarks or the search bar), showing
the fake title bar would fail. Now do the check as the page continues
to load to guarantee that it shows.

Fix for http://b/issue?id=2487417
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
6adacc90222a3293bc631ef88ee5613e23b2d4c0 05-Mar-2010 Patrick Scott <phanna@android.com> Check the network state in onCreate.

This ensures that we set mIsNetworkUp before trying to load a page.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7d3ac79a202f0caf588e70270c28f5510ff80821 03-Mar-2010 Cary Clark <cary@android.com> refactor find state and scrolling

Explicitly call webkit to note when find dialog is visible,
to dismiss the find dialog and clear to matches.

Companion fix in frameworks/base and external/webkit

http://b/2370069
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
da3e030722f8703a27595e31a87428ca5df1f213 02-Mar-2010 Leon Scroggins <scroggo@google.com> Do not insert duplicate urls into the browser database.

Move the logic for finding similar URLs to frameworks/base,
and use it in addBookmark. In BrowserActivity, call smartUrlFilter
before calling updateVisitedHistory, so the '/' will be appended
before adding to the database.

Part of fix for http://b/issue?id=2442391

Depends on a change to frameworks/base
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
95a2e4ab94514e4e41033b0d27a0e66855cff8eb 02-Mar-2010 Brian Carlstrom <bdc@google.com> SslCertificate should provide Date interface

While working on out openssl code, I found a Y2k bug that the dates
from invalidate certificates could be shown as 1909 instead of 2009.
The reason was because SslCertificate/BrowserActivity passed the
values around as Strings even though the started as Dates (from
X509Certificate) and were converted backed to Dates before
presentation by BrowserActivity's reformatCertificateDate.

SslCertificate now maintains date fields internally as Date objects
without converting them to Strings. The constructor and String
accessors, which are now @deprecated, now specify the format as an ISO
8601 date string which uses 4 digit years.

BrowserActivity now reformatCertificateDate is now simply
formatCertificateDate and no longer has to convert from String to Date
and back to String to get proper Locale formatting.

CTS SslCertificateTest also updated.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
385effd3192a16b737a7d4fbe4fc71c6cf467627 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Update to reflect android-common no longer in framework.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
43914692ad81ec64e5da2dd3e7e3f79b71594eaa 19-Feb-2010 Patrick Scott <phanna@android.com> Remove our dependency on gsf.

Hardcode the account values when looking up the hosted domain. We also hardcode
the settings uri for looking up the client id. This is the better solution for
now because the client id is written only once. If the partner setup were to
write the value to the BrowserProvider, it would get erased if the user decided
to reset the Browser.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
dcc5eeb63eadd597587a0b2b49998c267b0bcc11 23-Feb-2010 Leon Scroggins <scroggo@google.com> If a tab was opened solely to download a file, close the tab.

Fix for http://b/issue?id=2217707
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
03e6d39560d7de359782485d4c863d600b34fb51 12-Feb-2010 Paul Westbrook <pwestbro@google.com> Change the browser to use the standard EXTRA_SUBJECT intent extra
when sharing a page. This allows Email and Gmail to prefill the
subject of the message with the title of the page
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4e9f89b0a64395133b9160dcb4533d2dc62a424f 22-Feb-2010 Leon Scroggins <scroggo@google.com> When long pressing on title bar, do not use WebView in onCreateContextMenu

Fix for http://b/issue?id=2456405

Override TitleBar::createContextMenu to call BrowserActivity's onCreateContextMenu
directly, so that WebView is ignored, and we only get the options for TitleBar.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e4c98469644d3fa2689cf6658b1999add13c7e0e 19-Feb-2010 Andrei Popescu <andreip@google.com> Change the way the browser detects connectivity changes.

Fix b: 2454643
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
9d53da05812f959745810a33bb4e06b273393c42 19-Feb-2010 Patrick Scott <phanna@android.com> Remove tabs.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
92472e83d198d741f0d242ea87ebb57395505cad 17-Feb-2010 Leon Scroggins <scroggo@google.com> When loading a new page from the UI side, update the title bar to the new url.

Fixes http://b/issue?id=2379215
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8ad299270a97dfa3f9bcb956096bc152498fb727 16-Feb-2010 Leon Scroggins <scroggo@google.com> Clear omnibox when pressing search key.

Fix for http://b/issue?id=2442426

No longer override onSearchRequested, so that pressing the search
key behaves normally. For touching the title bar, use the old
onSearchRequested (renamed to editUrl).
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
30995e7cef0a0d5f9c7228d504076e0c158fa8b7 09-Feb-2010 Andrei Popescu <andreip@google.com> Implement navigator.isApplicationInstalled() API

This CL contains the comminication with the package manager.

Fix b: 2371005
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
10d1cca0c208d1f9db23893a8515685e04cfe224 10-Feb-2010 Bjorn Bringert <bringert@android.com> Use Search.SOURCE from android-common

The SOURCE (search source identifier) constant is moving
from hidden in android.app.SearchManager to com.android.common.Search.

Part of http://b/issue?id=2429556

Change-Id: I4eee5dbac6f0cee2947175915186a17d06dd9fec
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1fe13a5230e319df42b21939a14d127bd9bf3856 09-Feb-2010 Leon Scroggins <scroggo@google.com> send broadcast intents to voice search for logging purposes

Fix for http://b/issue?id=2390720
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3b18ce37c13fce7212948df90a012d7011924a6e 08-Feb-2010 Leon Scroggins <scroggo@google.com> If the user submits the same search again from voice search, stay in place.

Fix for http://b/issue?id=2428574
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7a8b88b0e0f20544df5ee34b798398603261b733 02-Feb-2010 Andrei Popescu <andreip@google.com> Implement support for V8 counters
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a1cc3fdce19a336c251297c61cd83ac6cf767cd1 01-Feb-2010 Leon Scroggins <scroggo@google.com> Use the constants defined in RecognizerResultsIntent for voice search.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
58d56c6b5052faa86083965132cd51b1a9594d0e 28-Jan-2010 Leon Scroggins <scroggo@google.com> Handle the voice search intent.

Once the voice search intent has been handled, the title bar
background changes to green, and touching it displays other voice
search possibilities.

Fixes http://b/issue?id=2390686
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2d508edbf54ea74cd4e89be8b622b1cbd587464a 28-Jan-2010 Grace Kloba <klobag@google.com> Should trust my own code
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
00f54c589fd38431efd42ea2a551a49e64d595d5 27-Jan-2010 Grace Kloba <klobag@google.com> Use a single EXTRA_HEADERS intent.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
068e48b469f5abca53ee3da38f933cf2c25c93b8 27-Jan-2010 Grace Kloba <klobag@google.com> Add request header support for the Browser/WebView.
QSB can use this instead of POST to send the location
data. After QSB makes the switch, we should also
remove the POST_DATA intent which is hidden.

Add loadUrl(String url, HashMap extraHeaders) to
WebView so that the caller can send the extra http
headers.

Remove "inline:" as no one is using it and it is a
hidden feature.

Part 2 of 3-project checkin.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
d334bf564b72416e77e707d25f8c55cfe1d85709 26-Jan-2010 Mike Reed <reed@google.com> conditional code to test the browser in 32bit
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
716d4f542daec3588f45cbc5cb3acc825233b8a1 21-Jan-2010 Doug Zongker <dougz@android.com> relocate GoogleLoginService

Change-Id: Ie5a1770b8bb3adaeb9dce1db89e0b563519fde0a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f08809b2cf7e502fef5965691a7fb6d7cf0322af 21-Jan-2010 Leon Scroggins <scroggo@google.com> Do not show the downloads page without the user explicitly requesting it.

Fixes http://b/issue?id=1671150
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
96afcb1a85b1d14be910bfe0a2c4104e6ec87964 10-Dec-2009 Leon Scroggins <scroggo@google.com> Add data (title, screenshot, favicon) to share intent.

Requires a change to frameworks/base

Fixes http://b/issue?id=2243246
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
56199cc25e7ee0455ec2a8099098b66b8554f677 12-Jan-2010 Andrei Popescu <andreip@google.com> Detect if the current network is wifi or not and update webkit.
This info is passed to youtube.com via a custom HTTP header.

Fixes b:2368650
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1e5bad97ca8fb9b12501f4f747941d02f03e1362 15-Jan-2010 Jean-Baptiste Queru <jbq@google.com> Use the private Download Manager APIs.

This boils down to using Downloads.Impl instead of Downloads

The APIs that were being used so far are going to disappear
to be replaced by a new set of APIs, but in order for the browser
to be able to continue using the old APIs a new copy of those APIs
was created "on the side" so that the browser doesn't need to
change much.

Bug: 2245521

Change-Id: I33c526331cce006710b1f934a4aeb64cdb95d62e
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
9b78e1d1e0bd819ae03df5594d4a56519e5d87c7 13-Jan-2010 Mike Reed <reed@google.com> refactor draghandler dispatch in about:debug.drag#
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0c33ba3800d105e094eb1bc5c5af9892ab21733f 12-Jan-2010 Leon Scroggins <scroggo@google.com> am 4d569da2: am c7b92f81: Use a "boolean" instead of a "Boolean"

Merge commit '4d569da292a8a371098461d0763edd1393cdc712'

* commit '4d569da292a8a371098461d0763edd1393cdc712':
Use a "boolean" instead of a "Boolean"
c7b92f811dfa3572578ddc6714c98a03936d9ce5 12-Jan-2010 Leon Scroggins <scroggo@google.com> Use a "boolean" instead of a "Boolean"

Fixes http://b/issue?id=1856681
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
87ec20cb906d9728de80471cf6b536c74237b0fc 11-Jan-2010 Leon Scroggins <scroggo@google.com> am 58c3d985: am fde9746a: Clear parent/child tab relationships when clearing history.

Merge commit '58c3d985682495d6563cafe21fa19a47ef349971'

* commit '58c3d985682495d6563cafe21fa19a47ef349971':
Clear parent/child tab relationships when clearing history.
fde9746ac3055848e110c35f19ec5893c621f766 11-Jan-2010 Leon Scroggins <scroggo@google.com> Clear parent/child tab relationships when clearing history.

Fixes http://b/issue?id=2330279
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
15b8ec6b226f4d57307716e1f495e10a91f8cbf4 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2290d2174a096d537f8cf899243ecaa9cb88ad5b 08-Jan-2010 Mike Reed <reed@google.com> enable drag-trackers via about:debug.dragN where N is

0: no tracker (default)
1: variant 1
2: variant 2
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
752b656ef16af3804572ee91469b1cd6ff2a4b87 18-Dec-2009 Fred Quintana <fredq@google.com> switch to using AccountManager instead of GLS
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8f92af82e850474d6a8eb7c6bd119a80942801c6 14-Dec-2009 Derek Sollenberger <djsollen@google.com> am 3950d733: am c06a2da3: Merge change I4c7be8c7 into eclair-mr2

Merge commit '3950d733fad2f7cfd127ea26bf9c7a2a66623c33'

* commit '3950d733fad2f7cfd127ea26bf9c7a2a66623c33':
Notify the WebView that its customView is not being displayed instead of failing silently.
8ff57db0a8dc8eb659fbcdcd4a856208609e6070 08-Dec-2009 Derek Sollenberger <djsollen@google.com> Notify the WebView that its customView is not being displayed instead of failing silently.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b71d88d5c09f1d1de0ae678e238b8d1691146420 10-Dec-2009 Leon Scroggins <scroggo@google.com> am fb6549b9: am d530494d: Provide a button to allow the user to set the home page to the current page.

Merge commit 'fb6549b93476f115b4aa1a14523d98e27366d3e6'

* commit 'fb6549b93476f115b4aa1a14523d98e27366d3e6':
Provide a button to allow the user to set the home page to the current page.
d530494de9c182af4aff97ddd46343b32594da51 10-Dec-2009 Leon Scroggins <scroggo@google.com> Provide a button to allow the user to set the home page to the current page.

Fixes http://b/issue?id=2243560
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8cb4c8f4148e0d4ba0325edf548dd6561d8d1f6d 10-Dec-2009 Leon Scroggins <scroggo@google.com> am 98f0d6db: am a143bfea: Merge change If65b50dd into eclair-mr2

Merge commit '98f0d6db63213c3107cb8f2e6ed649df73f4521f'

* commit '98f0d6db63213c3107cb8f2e6ed649df73f4521f':
Allow long press MENU to open IME in Browser.
f65b50ddd2f7ed1205002d74082fff1ac2336d5c 08-Dec-2009 Leon Scroggins <scroggo@google.com> Allow long press MENU to open IME in Browser.

Pass MENU key up even if menu is already held down so the
IME can open due to long press.

Fixes http://b/issue?id=20306904
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0e96898dabaa781a07dc5313e1503ea3fdb694e0 27-Nov-2009 Leon Scroggins <scroggo@google.com> am 33c8bdb1: am b446443e: Only show manually entered URLs in suggestions.

Merge commit '33c8bdb17d9ef65d5cc790a1059712d8b65dc60b'

* commit '33c8bdb17d9ef65d5cc790a1059712d8b65dc60b':
Only show manually entered URLs in suggestions.
b446443e47c334bc3aaae98b67c8dca347da3032 25-Nov-2009 Leon Scroggins <scroggo@google.com> Only show manually entered URLs in suggestions.

In the bookmarks database, add a column to keep track of whether
the url was entered by the user. When providing a Cursor for
suggestions, do not show visited websites that were not entered
by the user. In BrowserActivity, add manually entered urls to
the database, so that they can be seen in the suggestons.

Requires a change to frameworks/base.

Fixes http://b/issue?id=2281371
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
98298f9c4895b32e2551ccdcf6cb2189871b789e 23-Nov-2009 Grace Kloba <klobag@google.com> am 51bc6ae1: am 41d53ed1: Merge change I638d3f45 into eclair-mr2

Merge commit '51bc6ae18994c9432377b83e3cde933d69a9e1e7'

* commit '51bc6ae18994c9432377b83e3cde933d69a9e1e7':
Enable some special debug url.
638d3f45791a31d0b290e180b93bad49576eb6d3 23-Nov-2009 Grace Kloba <klobag@google.com> Enable some special debug url.

about.debug.dom -> dump the dom tree to adb log
about.debug.dom.tree -> dump the dom tree to /sdcard/domTree.txt
about.debug.render -> dump the render tree to adb log
about.debug.render.tree -> dump the render tree to /sdcard/renderTree.txt
about.debug.display -> dump the display tree to /sdcard/displayTree.txt
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
eb33dc1f68142cf51324d87babc12bd20f9660b0 19-Nov-2009 Grace Kloba <klobag@google.com> am 28292bc9: am bb394f3e: Fix monkey crash. Check null for the top window in onActivityResult.

Merge commit '28292bc903909245339baa36890c04286ef31a4d'

* commit '28292bc903909245339baa36890c04286ef31a4d':
Fix monkey crash. Check null for the top window in
bb394f3e134b6e5898ef7ae861b75e95e618688f 19-Nov-2009 Grace Kloba <klobag@google.com> Fix monkey crash. Check null for the top window in
onActivityResult.

Fix http://b/issue?id=2254462
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a333ec790b97da9b55799e83db600bfb644aea23 19-Nov-2009 Ben Murdoch <benm@google.com> am a5a5fa3a: am 90d088ca: When long pressing to add a bookmark, use the title text returned from WebCore to populate the title field of the add bookmark dialog.

Merge commit 'a5a5fa3a09ea42c05ad7d9d484aab7a5b8ec64eb'

* commit 'a5a5fa3a09ea42c05ad7d9d484aab7a5b8ec64eb':
When long pressing to add a bookmark, use the title text returned from WebCore to populate the title field of the add bookmark dialog.
90d088caeee718f89755ee9c25249ba6da15ab97 17-Nov-2009 Ben Murdoch <benm@google.com> When long pressing to add a bookmark, use the title text returned from WebCore to populate the title field of the add bookmark dialog.

Change-Id: Ia8991d3300776e81d5a216f7c467e7c9319a70d7
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b3fb3e9d058d312021c2e03e227d6e1c770bcded 18-Nov-2009 Dan Egnor <egnor@google.com> am 79ba087a: am 221be506: Merge change I5ee906c0 into eclair-mr2

Merge commit '79ba087a5013e03ee5e0ab836db0a1a1b7419c96'

* commit '79ba087a5013e03ee5e0ab836db0a1a1b7419c96':
Change android.text.util.Regex to com.android.common.Patterns
5ee906c089567bca705e18561357510d7b55cb5a 18-Nov-2009 Dan Egnor <egnor@google.com> Change android.text.util.Regex to com.android.common.Patterns
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4f75ba226fb7fd1cf62caf807123dee8f5e65b13 27-Oct-2009 Ben Murdoch <benm@google.com> Add an option to the long press on image menu to save that image as the home screen wallpaper.

See b/2210111

Change-Id: I911633772358504f0e82fe940f9f2efc4ef403de
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8cf8f682e90f004d4b8028d2f5b74f72c0cf4e19 04-Nov-2009 Leon Scroggins <scroggo@google.com> Reset the progress when beginning to load a new page.

Fixes http://b/issue?id=2233145
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fb7c75067fe5764631c762a095012bb6aed77521 29-Oct-2009 Leon Scroggins <scroggo@google.com> Do not clear FindDialog's text when changing orientation.

Fix for http://b/issue?id=1468517

Due to some changes in external/webkit and frameworks/base, it is
no longer necessary to clear the string. A message will be sent
which will perform the search one the picture is up to date.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ae59c3f5a5b492f91d72e1d26702a13b91a43fa4 20-Oct-2009 Ben Murdoch <benm@google.com> Stretch short landscape bookmark screenshots to fill the correct amount of space.

Change-Id: Iea18faab7ef08ace675e19c1047d15a39f12ec97
(cherry picked from commit 85b59baf17a443e6d89aed50d77149513ceb526c)
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
512920d4c7c02c90dcbc27c0f7f33d53fb636dcf 23-Oct-2009 Robert Greenwalt <robdroid@android.com> am 7d899d6f: Fix how browser determines if it has connectivity.

Merge commit '7d899d6f5364a5b20716497a3be5e2f778a2bc0e' into eclair-mr2

* commit '7d899d6f5364a5b20716497a3be5e2f778a2bc0e':
Fix how browser determines if it has connectivity.
7d899d6f5364a5b20716497a3be5e2f778a2bc0e 23-Oct-2009 Robert Greenwalt <robdroid@android.com> Fix how browser determines if it has connectivity.

Rather than use the connectedness of the last network type to report status
we should use the EXTRA_NO_CONNECTIVITY info included with each status report
to see if there is any network connectivity.

bug: 2203128
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3 21-Oct-2009 Grace Kloba <klobag@google.com> Remove the fake title bar in onDestroy so that we will
not leak the window.

Fix http://b/issue?id=2198565
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
163ab74e2f85b53a1a374c49677073fb64d35f28 20-Oct-2009 Andrei Popescu <andreip@google.com> Hide the status bar while a <video> is playing.

Fixes http://b/issue?id=2200379
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
de353621650d17a412b6ffe2cbf0366db5f11c40 12-Oct-2009 Ben Murdoch <benm@google.com> Don't allow the user to save bookmarks with a scheme that the Browser cannot directly handle.

Change-Id: I9cbdfeaaeef4ded3dac1623854ecb9c5c603eb91
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b2b19f501ee05448ca81bddaaca70e9b2f51cb54 09-Oct-2009 Leon Scroggins <scroggo@google.com> Hide the fake title bar while showing the context menu.

Fix http://b/issue?id=2169472
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
22ac16eab0b62d24a99fc360f2ccea14837f4127 08-Oct-2009 Grace Kloba <klobag@google.com> Move Tab out of TabControl to its own class. So that
each tab has its own WebViewClient, WebChromeClient,
ErrorConsoleView, lock icon type and inLoad (matching
mPageStarted) state.

Clean up BrowserActivity, TabControl, create a new Tab class.

Fix stopAllLoading() to stop all main window and sub window loading.

Remove mScale/mScrollX/Y from PickerData as it is not used any more.

Remove doFlick/SensorManager as it is not used any more.

Remove whiteList as it is not used any more.

Remove MASF proxy service as it is not used any more.

With this change,
we will take the snapshot even when it is in the background.
we will update the touchicon url even when it is in the background.
we will update the bookmark/history even when it is in the background.
we will update database quota and max appCache size even when it is in the background.
we will show the error dialog of the background tab when it is brought to the foreground. (New behavior)
we will update the lock icon correctly when switching tabs.
we will proceed the http auth request for the background tab if we already have username and password.

Fix http://b/issue?id=2158621
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8d5fa439c93c336197cfca4a0bfca7147e43353d 02-Oct-2009 Leon Scroggins <scroggo@google.com> File upload.

Requires changes in external/webkit and frameworks/base.

Fix http://b/issue?id=675743
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f5169178b774f1e602394403b1fe1fc45436e216 08-Oct-2009 Grace Kloba <klobag@google.com> am ef292158: We should handle all four cases when strip the "client". We were incorrect in the third case.

Merge commit 'ef2921584e0c2f425d673dfd2c912b287a6faa5a' into eclair-mr2

* commit 'ef2921584e0c2f425d673dfd2c912b287a6faa5a':
We should handle all four cases when strip the "client".
ef2921584e0c2f425d673dfd2c912b287a6faa5a 08-Oct-2009 Grace Kloba <klobag@google.com> We should handle all four cases when strip the "client".
We were incorrect in the third case.

http://www.google.com/m?client=ms-unknown
http://www.google.com/m?hl=en&client=ms-unknown
http://www.google.com/m?client=ms-unknown&q=pizza
http://www.google.com/m?hl=en&client=ms-unknown&q=pizza

Fix http://b/issue?id=2174396
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
5d0e02e646e46b14289168f75c2a8f6ed43cac54 06-Oct-2009 Grace Kloba <klobag@google.com> Stop the loading after WAKELOCK_TIMEOUT (5min) when
the Browser is in the background. So we won't continue to
burn the battery if there is some mis-behaved JavaScript
running.

Fix http://b/issue?id=2147840
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fe87bd3a3897e4bad65bb3d284659ae2f4e57570 06-Oct-2009 Leon Scroggins <scroggo@google.com> Update the fake title bar appropriately.

Fix for http://b/issue?id=2168682

Rather than updating the fake title bar when it is shown,
always update it with the regular title bar, so it will
have the correct icon etc when it is shown. This also
means that we keep it around, which has the bonus of
eliminating several creations and gcs.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
83932c74ba031eb2f581f1557c1a90f4b5bbb423 30-Sep-2009 Leon Scroggins <scroggo@google.com> Slide the title bar onto the screen rather than stretching it.

Fix for http://b/issue?id=2154614

Also update the header for the find dialog animations.

Change-Id: Ibf40bd9ee12c270c2794d4d2316143686a072458
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
cb6cc864e53f7d916622daf3b2cec133b36d6a55 29-Sep-2009 Leon Clarke <leonclarke@google.com> Link coloring - do db lookup in new thread

Typo
(cherry picked from commit ccfb951aa11cfdd7ec8ac97e6003193a1a1d7d5b)

Conflicts:

src/com/android/browser/BrowserActivity.java
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1e70505659dd9bf0f7e03bce787ba880f9b7a8aa 29-Sep-2009 Grace Kloba <klobag@google.com> Check null for intent.getData() before using it.

Fix http://b/issue?id=2151485
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4580057e772b60433272af5cd691825748892693 29-Sep-2009 Leon Scroggins <scroggo@google.com> Check to make sure the captured picture is non null before using.

Fixes http://b/issue?id=2154493

Change-Id: Id9898b2251585e8adbae286df6173a2e1989c838
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a04645545690d9f637ccae4d043a5a1b8478a832 29-Sep-2009 Cary Clark <cary@android.com> don't create the fake title bar when getGlobalVisible fails

If getGlobalVisibleFails, the visible rectangle top is
assumed to be zero, as if the status bar has no height. The
fake title bar is then drawn underneath the actual status
bar. Bail on the fake title bar creation if the status bar
can't be measured.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2694e23a55d5ca526fc29534a80a200e2c58698b 29-Sep-2009 Ben Murdoch <benm@google.com> Fix miniature thumbnail problem and delay saving of a screenshot by 500ms after a page has completed loading to ensure the WebView has completed painting and that we therefore save an accurate thumbnail.

Change-Id: I77f5d12062de0b9703e5d3ec0c53910f4d62743d
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
65f4a3ce9e5c4a5227bbcbb995e5e15f1f85d3d7 28-Sep-2009 Cary Clark <cary@android.com> check to see if the real title bar has no parent

This works around a monkey-found crash that is unlikely to
be triggerable by a user.

Fixes http://b/issue?id=2150746
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b3a5bedeede968b53363a6c517f92bc2484bb42d 28-Sep-2009 Leon Scroggins <scroggo@google.com> Update menu items.

Fix for http://b/issue?id=2145205

Change-Id: I9c7de6fc8ff81b7a583c0c9a9724651b3304f93f
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b7cc8b439dc595dc48e1c2183b35d23ad72dfbe5 28-Sep-2009 Ben Murdoch <benm@google.com> Only update the bookmark screenshot if the page completed loading fully (i.e. do not save a screenshot if the user canceled loading.

Bug: 2148161
Change-Id: Ia226959cd18848d0eb2e302a9ef894c5c142d37d
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b94bf27370329abb27e5e33b493d6edb5662b36e 25-Sep-2009 Leon Scroggins <scroggo@google.com> Only draw the fake title bar's shadow if the webview is not scrolled.

Fixes http://b/issue?id=2142575

Change-Id: I1b29cf6b7fcf89e6c7ebbb967a46434424d6ba54
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f85516172840450a4d1270b658905dc1649ceaf2 24-Sep-2009 Leon Scroggins <scroggo@google.com> Fix layout issues on the bookmarks screen.

Limit the title of a bookmark to stop at the right edge of screenshot.
Use the new default screenshots for bookmarks without screenshots.
Resize the bookmark screenshot to match the size of the default icon.

Fixes http://b/issue?id=2042025 and http://b/issue?id=2098770

Change-Id: I66a10671ea98007cfe5bf7502fb1e3619276ca22
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
aac7aa6fcfcb519755987ec126be066323f589c8 17-Sep-2009 Ben Murdoch <benm@google.com> In the case of a page load error, save a second screenshot in onProgressChanged(100) to ensure that we save the substituted error page rather than the previous page that loaded. Also save the thumbnail for the page if the user creates the bookmark through the add bookmark menu or clicking the add bookmark icon on the bookmarks page.

Change-Id: Ib2b7692a45290f9ce372968e05cde8f6903e4572
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c6fa1104e549b8f5b89195d22c41059e77672dfa 21-Sep-2009 Leon Scroggins <scroggo@google.com> Add a context menu for the title bar.

Fix for http://b/issue?id=2131232

Change-Id: I28f23d4dc1060208c3d12cf8e2bcbd0be24a9c6c
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
00d85e74921459b34e70eb93368245b4c0a9bf5f 24-Sep-2009 Grace Kloba <klobag@google.com> We should return after calling moveTaskToBack when there is no current tab.

Fix http://b/issue?id=2142160
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0923d69a8ca45222cabd82a80eaa88da9f132e9a 24-Sep-2009 Grace Kloba <klobag@google.com> If we get web search request in onCreate, just finish the
current activity. Otherwise it puts the BrowserActivity in
a bad state where there is no current tab.

Fix http://b/issue?id=2142368
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
10fdba8a1a4598e7081c150f551c15dbe4a55634 24-Sep-2009 Andrei Popescu <andreip@google.com> Add possibility to customize the chooser dialog used to allow the user
to choose the application for sharing a link.

Fixes http://b/issue?id=2099733
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
20329570ba9409637298da90b83f25801d7a3d55 23-Sep-2009 Leon Scroggins <scroggo@google.com> When hiding the fake title bar, animate or not based on current scroll.

Change-Id: Ib3177e68afa30f3a3c7f42aafe0abbf8b58f0412
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
06ec5f2d8735d1ba17b779deb0f8da032e0a62ea 17-Sep-2009 Leon Scroggins <scroggo@google.com> Tweaks to improve the look of the bookmarks page.

Change the size of the thumbnails for hi dpi. Scale the
thumbnails according to the content width. Make the overlay
on the first item slightly lighter.

See http://b/issue?id=2137041

Change-Id: Ib461459c37ee03d1a6013a404a35c3869a8bb284
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
da0fe556a00773ce2af25eb6dcc5442bd08c7add 23-Sep-2009 Grace Kloba <klobag@google.com> Move the page up/down shortcut key from onKeyUp to onKeyDown as
WebView handles the keys in down, not up.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a5bf1deca120315a2643ea5b010f94d853461b15 23-Sep-2009 Andrei Popescu <andreip@google.com> Reset title bar after closing tab

Fixes http://b/issue?id=2139260
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
5e335a381a0cd66e94117b202c1f34f5cb29c9b8 22-Sep-2009 Cary Clark <cary@android.com> switch to modern contact interface

The browser can launch an intent to add a phone number
on a web page to a contact. Use the current interface
to do so instead of the deprecated interface.

Fixes http://b/issue?id=2126565
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0485170e03e079eb61b9dd52fc2c98da02fa7b2c 22-Sep-2009 Bjorn Bringert <bringert@android.com> Pass search intent extra data through the browser

This is needed by some web search providers for logging.

Change-Id: I7a6dba26d79ee97e4a4628269b212e80151ad9ee
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
59ce830c6eab58171b727abe5282c4abadb1a040 18-Sep-2009 Patrick Scott <phanna@android.com> Support precomposed app icons.

The precomposed icon overrides any other touch icon. We still need to do the
round rect clip because apparently apple still applies the rounded corners, just
not the glass effect. Inset the rectangle by 1 to fit the icons better.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
685498685d8424f48d77d26d8d5790da34645f44 21-Sep-2009 Leon Scroggins <scroggo@google.com> Add a shadow to the fake title bar.

Remove old code which requests windowOverlays. When inserting the
fake title bar, put a shadow underneath it. Do not show it if the
scroll is at the top, since it is transparent, and showing it along
with the shadow below the real title bar would show a darker shadow.

Fixes http://b/issue?id=2118813

Change-Id: I84b8975ea82cc8659b702112c7e67498f863916c
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f8de8ecc321fe5b45846adc38d174d5bc2208f20 21-Sep-2009 Patrick Scott <phanna@android.com> Check for a valid token before adding the fake title bar.

This is basically what happens when adding the view to the window. In some
cases, the decor view may be null or the window token may be null which throws
an exception.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
15525d48024d325c8a52766d8ca727191251a8d4 21-Sep-2009 Patrick Scott <phanna@android.com> Update the correct favicon when starting the load.

The WebView's original url and current url are incorrect during the provisional
load. Use the given url instead when updating the favicon.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
184f5e351dd511e6dc41ba8468565c14d6beb4f5 21-Sep-2009 Leon Scroggins <scroggo@google.com> Show the fake title bar when loading regardless of scroll position.

Fix for http://b/issue?id=2131516

Change-Id: I7d5e02928a36d732b4fc4a2a6b47d7f59e473de1
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
dcc2b6f08dd5677bc6ba761a9ba6f1c655113051 21-Sep-2009 Ben Murdoch <benm@google.com> Put current screenshot under "Add" on bookmark thumbnail page.

Change-Id: Iaf52037f755fea343ef68a23d3740f0f5cdcecb7
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
5942df0c38dff7e4335e352e2d03f100b07b8907 18-Sep-2009 Grace Kloba <klobag@google.com> Handle BACK key at UP in the Browser.

Remove KeyTracker, use KeyEvent instead.

Remove ImageGrid and ImageAdapter.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
540035dfd1347c78eeec10ec0847e18fcc50ef36 18-Sep-2009 Andrei Popescu <andreip@google.com> Add progress view and default poster for the <video> implementation
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c928c30a51eee84b40cb7045842c288c1cfafff0 17-Sep-2009 Grace Kloba <klobag@google.com> This tries to address a potential Browser CPU spinning
problem.

Fix http://b/issue?id=2127825
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
d0119535d0c490e087be114ae8fd1639bb1945dc 17-Sep-2009 Patrick Scott <phanna@android.com> Remove the WebView from its container to change focus.

When the container is removed from the content view, its child views do not lose
focus. Removing the WebView from the container as well will trigger a focus
change from the WebView. Move the attach/remove logic to TabControl since it
knows all about the containers.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
eb6ab2aeeccb5ddfba7faefd9c1b5fe14ee8d885 16-Sep-2009 Patrick Scott <phanna@android.com> Remove the old network status intent.

Use NetworkInfo to see if we are connected to a network instead of the intent
extra. Update the network dialog text and refactor the alert dialog creation to
reuse code.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4ec2c4ba95cbff009ef9a219db6c673bad092a5b 17-Sep-2009 Grace Kloba <klobag@google.com> Remove the shadow in the Browser. Use xml to indicate windowNoTitle.

http://b/issue?id=2125456
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c01e4a8342c9478f9ba0c53c2ebca25b4b5c3173 16-Sep-2009 Leon Scroggins <scroggo@google.com> Make the fake title bar extend to the full width.

Change-Id: I3d20459c6c93e4d5186a8135168b3b7e7d97ad1c
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
eb6eef4c45df2d65c3e70660493a147a2be405e3 16-Sep-2009 Grace Kloba <klobag@google.com> Fix the lock icon when switch tabs.

In switchToTab, I think it is wrong code where it calls removeTabFromContentView(tab).

In openTabAndShow, we should really attach after we the tab to the current.

Fix http://b/issue?id=2067930
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
d8fd2fcf4eb037fd65ae923c6dbeff6c6ecb4d4f 16-Sep-2009 Leon Scroggins <scroggo@google.com> Make the fake title bar look more like the regular title bar.

Place the fake title bar in FrameLayout with a shadow overlay and
a white background so it will look like the embedded title bar.

Fixes http://b/issue?id=2123300 and part of http://b/issue?id=2118813

Change-Id: I079cd5100dbc344867a75e3593471bc0c1e3d8eb
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
83cdb2c40f2dbcbdf522a2af0ec8224c7195c6c1 16-Sep-2009 Grace Kloba <klobag@google.com> Need to add touch icon when adding bookmark through menu.

Fix http://b/issue?id=2123469
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4d7e406998028f9ddb01df6d7463b87d6fa02601 15-Sep-2009 Leon Scroggins <scroggo@google.com> Do not show the title bar if the Activity is paused.

Fix http://b/issue?id=2121363

We attempt to show the fake title bar as a result of
a callback. It is possible that we receive this callback
while the BrowserActivity is not running (not sure how
to reproduce, exactly, but the monkey did it; see the
bug). Before showing the title bar, do a check to see
if the BrowserActivity is currently paused, and only
show it if not.

Change-Id: I770a1f86ae50f936f45bbf1dc2f047049b8e1aa3
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
68579393973f745fc65a2781061af9bb8f2d7020 15-Sep-2009 Leon Scroggins <scroggo@google.com> Remove the tab slider, and go back to simply using a touchable title bar.

Remove the tab slider (TitleBarSet) from eclair.

In TitleBar, override onTouchEvent to handle touches as either presses
of the right button or the textfield. Fix the press states on the
title bar to correctly reflect what will happen if you release your
finger.

Change-Id: I025b55e5ba546e8be4e9360e6f7db80fb6d9d3f9
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
25d3547e0df084f963e38c6a93c99b02bd619de3 15-Sep-2009 Leon Scroggins <scroggo@google.com> When opening in the background, do not move the tab to front.

Remove some code which I assume was there for going to the
tab overview, and was incorrectly kept around. When
opening a tab in the background, we do not need to set it
as the current tab.

Fixes http://b/issue?id=2118522

Change-Id: Ieaf512399b03307a1f70d952b648c0cfcf181c29
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
43de61666cfc98a3acc41c7161a1a8b0bdb2b72b 15-Sep-2009 Leon Scroggins <scroggo@google.com> Prevent showing the title bar while the active tabs page is showing.

When opening the active tabs page, hide the titlebar. Also, when
attempting to show the title bar, do not do it if the active tabs
page is showing.

Change-Id: Iee7e76056317c3bdf7f5023d59745ecaf3a3bbc1
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
db22ea70c4e0cb753ee224d2185d91379584d13b 15-Sep-2009 Patrick Scott <phanna@android.com> Call resetTitle() when switching tabs.

This will update the progress and the refresh/stop menu item.

Bug: 2118878
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
bb85b9016201d45ea939d7cb7edd0ba6616a111c 15-Sep-2009 Leon Scroggins <scroggo@google.com> Fix a potential null pointer exception.

Fixes http://b/issue?id=2075672

Change-Id: I8e1d052bb8316452405e8364e69d7092fefa4e10
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f4bb18a41259ce62209c768484547d33583f9c77 12-Sep-2009 Leon Scroggins <scroggo@google.com> Limit the touch area for opening search to the right edge of the textfield.

Now all single taps to the title bar will result in either
a search or opening the bookmarks picker, depending on whether
they were past the right edge of the textfield.

Fixes http://b/issue?id=2113429

Also move the lock icon in between the favicon and the url. See
http://b/issue?id=2085847

Change-Id: I30447aa7517b6fc801d3cf34eff233db3a4ce635
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a27ff19e24cb1c9fef5624dbc4554548349b5b31 14-Sep-2009 Leon Scroggins <scroggo@google.com> Show title bar while loading, and hide it when finished loading.

Fix for http://b/issue?id=2107276

Change-Id: I96cb4d3bd71edeb38b3afc7e58a339021a81ed46
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3bbb6caa3ceaec1106fe1de76066f5e1a186795e 09-Sep-2009 Leon Scroggins <scroggo@google.com> Show the title bar when pressing bringing up the menu.

Show an actionable title bar at the top of the screen when the
menu shows.

Change TitleBar* to take a Bitmap for setFavicon, and move the
logic for creating the drawable into TitleBar, so that we can
update directly from the WebView (whose getFavicon method returns
a bitmap).

Remove CUSTOM_BROWSER_BAR, since we are set on using our custom
title bar, and it enabled me to put mGenericFavicon in TitleBar.

Also take screen density into account when sizing the icons for
the title bar.

Change-Id: I3ee6b1d02e8845299f9cd1f648b271543683954a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a2ab6a7dc0f7023c1d7ebb1cbad397c5dc3d6453 11-Sep-2009 Leon Scroggins <scroggo@google.com> Remove the active tabs page when pausing the BrowserActivity.

This fixes http://b/issue?id=2113505

Change-Id: Ibb66546a86082986170ec983c4e081008182baac
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
652ff87f0905abd11f2fdb6cb4de7840985a0810 10-Sep-2009 Cary Clark <cary@android.com> allow mixed-case schemes in user-defined URLs

Adjust the scheme to all lower case before fixing the URL. This
allows mixed-case entries in bookmarks to resolve to a conical
lower case URL.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0a64ba581c9e476ef10f36a62825df933771427d 08-Sep-2009 Leon Scroggins <scroggo@google.com> Add an active tabs page.

The active tabs page gives the user the ability to see all of their
open tabs in a list, and switch tabs, create a new one, or close
an old one.

Fix for http://b/issue?id=2101994

Change-Id: Id4c14dd437f769144dbdb02011144ea97d8fd030
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
6b52a55ecd3b91ca31a0d7111f87a5d7937f215b 04-Sep-2009 Grace Kloba <klobag@google.com> Remove clientid from the url before it is added to the database. So that we
won't show them in the auto-complete list.

Update the browser.db and remove history only entries who has clientid.

Fix http://b/issue?id=2099727
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
304442375719effd41dbd53ae62de7a8d0cec7d9 05-Sep-2009 Leon Scroggins <scroggo@google.com> Go to the home page when opening a new tab/the browser.

As requested in http://b/issue?id=2101999, we are going
back to opening the home page when opening the browser or
a new tab.

Change-Id: I2608bab74494a0af2919bf351340579bcd58201f
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
55a5bc2a8f3c9a0721eeaa5a45241e00d5da95ef 04-Sep-2009 Leon Scroggins <scroggo@google.com> Clean up changes from attaching title bar to top of WebView

Renamed addTitleBar to setEmbeddedTitleBar. Requires a
change to frameworks/base

Change-Id: I0ea3c969dbd8c365a9f71eb373b11ddb0aa30b9b
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
39ab28eba0c8c837ac80851ec0dd2af336aa3f85 03-Sep-2009 Leon Scroggins <scroggo@google.com> Attach the title bar to the top of the page.

Remove the old notions of changing the viewing mode
resulting in changing the visibility of the title bar.
Instead, attach the title bar to the current WebView.
Requires a change to frameworks/base.

Change-Id: I65ba1182db040848700840e6229d7e1a7c6050d0
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
bb0af5ced906e5100d54f0c08e073e669edf2290 01-Sep-2009 Grace Kloba <klobag@google.com> When we close a window on exit, make sure pauseWebView taking action by
setting mPageStarted to false.

Part 1 for fixing http://b/issue?id=2087410
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a81a764063d2f849fba0cbc3039f86e67c2960dd 31-Aug-2009 Leon Scroggins <scroggo@google.com> Update the appearance of the title bar in the browser.

Change the title bar to use the look of the search bar. Remove
the new tab button, which is now a part of the updated menu. Make
the title bar for each WebView span the width of the screen. Make
the title bar appear when pressing the menu button.

Change-Id: I7ad1c955412d422be0fc6f26ec8d286172a0a99a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
5d61a6c4dfb1f6e7b811f33c2a9bbe09b955293b 25-Aug-2009 Patrick Scott <phanna@android.com> Use the new code values for onReceivedError.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e1fb96676cd2404c5de091d60828185228ef4c90 31-Aug-2009 Patrick Scott <phanna@android.com> Do not include ourselves as a candidate for downloading content.

If we are attempting to download a file and try to resolve to another activity,
it is possible to get BrowserActivity as the best candidate. In that case, we
need to fall back to the download manager. If we do not, we end up in a loop
trying to download the file and sending ourselves a new intent.

BUG: 2062310
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
25a1523642bead2f7e7f929ba9d6d1143dce06a0 25-Aug-2009 Ben Murdoch <benm@google.com> Use the estimated size of new databases as the default quota if we have enough space to satisfy it.

Change-Id:I23daac8fbf27f50f304ee53060353423deaed50a
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
416b7cbd57715f5330fabe118aa8d1d3d7ac3ef9 19-Aug-2009 Leon Scroggins <scroggo@google.com> Implement new title bar behavior.

Depends on a change to frameworks/base. When loading a new page,
display the title bar. Implement a callback so that we can toggle
the title bar's visibility on mobile sites.

Change-Id: Ie2cbe2a53bcfd1bcc9fb9d2f12285ecf45e06997
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
25515f8bd458a2471d13d876cfb0e18d8ff2a00f 19-Aug-2009 Leon Scroggins <scroggo@google.com> Fix a bug where we were opening a new tab unnecessarily.

Code got changed along with other code. When changing to an appTab,
if it matches the current tab, do nothing. Fixes
http:/b/issue?id=197317
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3936209d56f258bf718d7167da99c827661f5db6 19-Aug-2009 Leon Scroggins <scroggo@google.com> Allow user to enter a URL to visit a site without closing the browser.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ec1b5ad8d8283b1fbbc5d7fa1cd50ef95b9e594d 18-Aug-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of 918e1d78 to eclair
a11b75a4ef9cb8e264e59e3d2aadd56cf62e2afe 18-Aug-2009 Leon Scroggins <scroggo@google.com> Ensure that switching tabs also updates the title bar.

In particular, when we open a tab associated with an appId, move
the title bar to that tab's title.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
190095d42ef36347df265f40df190ec8be190d9e 17-Aug-2009 Leon Scroggins <scroggo@google.com> Disable "open in new window" if Go came up from a new tab.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
160a7e7d27755b7a3715ad87735b8070ab64d58a 15-Aug-2009 Leon Scroggins <scroggo@google.com> Fix several bugs surrounding the "go" screen and closing tabs.

http://b/issue?id=2053635 : Home page should appear when last tab is closed
http://b/issue?id=2049620 : click on a link opening a new window should skip the landing page
http://b/issue?id=2042079 : When I open a new tab, then hit back get strange state

Now if you close the last tab, it will bring up the "go" screen.
If you hit back, it closes the browser; otherwise it will go where
the user specifies. When opening a new tab, if the user hits
back, it will close this new tab. This also prevents the "go"
screen from coming up unnecessarily when a link opens in a new
window.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
dc975422a3f931cb3d9172e27fa832b241fbee33 17-Aug-2009 Leon Scroggins <scroggo@google.com> Bring up search directly from the Go page.

Rather than returning to BrowserActivity to bring up search, bring
it up directly from the Go page. This means that hitting back from
search will take you to the Go page (if you reached search from
the Go page). Fixes http://b/issue?id=2042017
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4943a31bc64286a06b0659636cc13b4b67c30589 07-Aug-2009 Leon Scroggins <scroggo@google.com> Hide the title bar when zoomed in
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8bbd69f50abd537bfe7eb314b3a3e20241ac22bd 14-Aug-2009 Patrick Scott <phanna@android.com> Set the new tab as the current tab to reflect the old behavior.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
918e1d78b2db6ef21c71a07868572d9cda498476 13-Aug-2009 Grace Kloba <klobag@google.com> Fix http://b/issue?id=2052775. According to the comment, we try to call
pauseWebView(). But as mActivityInPause is false, pauseWebView doesn't do
anything. This cause inbalanced pause/resume and the WebCoreThread's timer
is never put on hold even Browser is in the background.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
d6be1758b38d5b066ff10b6af906aa66c63670cd 12-Aug-2009 Cary Clark <cary@android.com> handle false results in file.delete and similar calls

found by findbugs
http://b/issue?id=1856614
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1f005d370557b6e69d2de6537e5ea21f73a7ec3f 10-Aug-2009 Leon Scroggins <scroggo@google.com> Initial attempt to get the sliding title bar working, using a Gallery.

In addition the sliding title bar, I have now removed the TabPicker.
Now, when changing to a new tab, we just go straight there. Also
put back in Add bookmark in the top level menu. And fix the bug
where switching tabs was always bringing up the bookmarks.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b81735a96d5e44ff9acf275619ad797ec0467670 12-Aug-2009 Andrei Popescu <andreip@google.com> remove gears
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4d7880fe3061ed691d220e64cd9e54a8c7b2d1bf 12-Aug-2009 Grace Kloba <klobag@google.com> Change the Browser trace file from data dir to sdcard, increase the size
from 8M to 20M so that common sites like nytimes.com can fit.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
722f755c14ea05ddaf041b282ab68c30a6ed05e6 11-Aug-2009 Cary Clark <cary@android.com> close streams when done

found by findbugs
http://b/issue?id=1856630
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a977124eb29b195127fd161120ebbc58b255fb48 11-Aug-2009 Cary Clark <cary@android.com> make private inner classes static

bug found by findbugs
http://b/issue?id=1856695
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
52220802f4b660ec14347b0e10d6077edecda9dd 11-Aug-2009 Cary Clark <cary@android.com> remove unused locals

found by findbugs
http://b/issue?id=1856758
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
875537236fa61882931c0e943521b435cdf55801 11-Aug-2009 Cary Clark <cary@android.com> make finals static, remove unused local

found by findbugs
http://b/issue?id=1856725
http://b/issue?id=1856786
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
64b80f3efd95d7b5192731e995ccde79c4c6c11f 07-Aug-2009 Leon Scroggins <scroggo@google.com> No load home page.

Rather than load a home page, bring up the browser/new tabs
displaying the bookmarks page, with a search bar that can be
clicked to open the omnibox. Also rearrange the menu. Fix for
http://b/issue?id=2018524
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a5d669e4c08f0e64387c2c539c41a26ac8c845ab 05-Aug-2009 Leon Scroggins <scroggo@google.com> Make the "Most visited" page have a thumbnail viewing mode.

Start capturing screenshots for all visited pages, and show them
in a grid view on the most visited page. Modify the BrowserBookmarks-
Page and Adapter so they can be used for the "Most visited" page.
Also change some of the ids for context menu items to be the same
in the browser and history context menus, for simplicity in
handling them in BrowserBookmarksPage.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2bc69918d97a767a02132090e58718077381ba1a 30-Jul-2009 Steve Block <steveblock@google.com> Adds the browser Geolocation permissions prompt.

Note that the appearance of the prompt has not yet been finalized.

Also the interaction of the prompt with the animation used to move to and from
the tab picker is not fixed. This may become unecessary if the tab selection UI
is redisgned.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3918d4443ff38ef1870e02aa51a8b29f8352bb1a 04-Aug-2009 Patrick Scott <phanna@android.com> Implement onReceivedTouchIconUrl.

Add DownloadTouchIcon, an AsyncTask that downloads the apple-touch-icon for urls
that are marked as bookmarks. The touch icon is stored in the bookmark database
similar to favicons and thumbnails. If a shortcut is created for a bookmark
containing a touch icon, the touch icon is used (with rounded corners).

Refactor the bookmarks query to be a static function. The function uses the
original url and new url to look for matching bookmarks. This takes care of
redirects as well as bookmarks containing queries.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
92c18a52ca7a79c114028b5ba22c3dfe443bd1a4 01-Aug-2009 Grace Kloba <klobag@google.com> When free the background tabs due to low memory, keep the parent tab of the
current tab around so that hit Back won't cause reload the page.

This should address the complain of reloading while using Google Reader.

Remove our own checkMemory() as the system now provides onLowMemory().
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
615c6c9130a1bd21c63cd37d09f8f4ea3229ca13 03-Aug-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of a34f6861 to master
a34f686112fb4f9fbea00b8c2c47153d34e93e41 01-Aug-2009 Grace Kloba <klobag@google.com> Move IntentFilter/BroadcastReceiver creation before the spot where we may
early bail out in onCreate(). This should avoid the NPE we saw in onResume.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
5bbe98025a2c606a35c91b826760020890daadb1 31-Jul-2009 Leon Scroggins <scroggo@google.com> Fix a monkey crash.

Since getTopWindow() can be null, check first before accessing it.
Fix for http://b/issue?id=2027301
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
aab3f09b5c2d39b19067e57635614080b2403a46 30-Jul-2009 Grace Kloba <klobag@google.com> Remove the session cookies if Browser starts without any saved state.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
438c5e64fc822cf1bac0648d7964988972d7d4e0 30-Jul-2009 Android Git Automerger <android-git-automerger@android.com> resolved conflicts for merge of cc634036 to master
79e82b7ba72a7278911edf0dd7b03c65c4ec0e9d 27-Jul-2009 Andrei Popescu <andreip@google.com> Refactor the WebStorage size management:
- Abandon the Quota UI: it does not make sense to ask the users to decide individual database quota increases. It is unlikely anyone will be able to make a meaningul decision.
- Introduce a global limit for all WebStorage content. This is shared between Database and AppCache.
- Make the quota increase decision automatic
- Treat out-of-space situations by creaying a system notification (TODO).
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
cc63403643786905262f505ab5266d8e80b9924c 29-Jul-2009 Grace Kloba <klobag@google.com> Fix #1964292. If the WEB_SEARCH starts from the Browser, load it in the
current window instead of a new window.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a0b0e2a2cd78ae78ec50eab2e532d0102facc52d 21-Jul-2009 Patrick Scott <phanna@android.com> Do not merge
When opening a new tab from the context menu, treat the new tab as a child of
the current tab. This change was cherry-picked from master.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
55581a656c7b198dbbac63184cd78c61f7535915 21-Jul-2009 Leon Scroggins <scroggo@google.com> DO NOT MERGE: Remove deprecated call: Cursor.commitUpdates().

This change was previously made in master, but I believe it is
responsible for a crash. We should not be using this deprecated
method, so I am now instead using ContentResolver.update().
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
96b4f6d90d7bd85eae69f93bffda905544d11afa 20-Jul-2009 Grace Kloba <klobag@google.com> am 83f47346: Fix 1984809. Select the url when SEARCH key is pressed in the Browser.

Merge commit '83f473462fcd7869031a423c02b957c6e938a2f6'

* commit '83f473462fcd7869031a423c02b957c6e938a2f6':
Fix 1984809. Select the url when SEARCH key is pressed in the Browser.
83f473462fcd7869031a423c02b957c6e938a2f6 20-Jul-2009 Grace Kloba <klobag@google.com> Fix 1984809. Select the url when SEARCH key is pressed in the Browser.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
bff2d603c022691237c31d9a57ad8c217c6e7e11 01-Jul-2009 Ben Murdoch <benm@google.com> Implement an error console. The console is displayed when the user has enabled debug in the browser (been to about:debug) and there are errors on the page. It can be toggled on/off in debug mode in the settings menu.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
cd11589fc3930906d4b9b7dd18aa52a9f1eb0c8a 16-Jul-2009 Patrick Scott <phanna@android.com> Try to reuse tabs with matching urls to avoid loading a new page.

If there is no matching application tab, try to find a regular tab (created in
the browser) with a matching url. This avoids opening a new tab and loading a
new page for a page that has already been loaded.

TODO: There is a ton of duplicate code around animations to/from the tab
overview. It is a massive amount of cruft and I really want to rewrite it all in
a separate change.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
89c6d36e2e6d6040540ee93ef4df29a6874a6a95 15-Jul-2009 Leon Scroggins <scroggo@google.com> Work on the Bookmark Grid, including the favicon.

Remove the file BookmarkGridPage, since a GridView will do just fine.
Now we specify a height and width for the bitmaps rather than adjusting
them for the screen size. Also add the favicon and match the design
more closely for the Add option. In BrowserActivity, match the size
of the saved screenshots to the desired size for the Bookmarks
Activity. Also move the logic into its own method so it can be
called from multiple places (still called in only one at the moment).
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e8dc977d91b95b3b3f56ffdadebeba4a04001200 15-Jul-2009 Patrick Scott <phanna@android.com> Do not merge.

Check for a null tab in onDestroy. This fix is in master but the crash appears
in donut as well.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b0e4fc7b8efc66b20cf83a8d5f8dc9110d67da4f 14-Jul-2009 Patrick Scott <phanna@android.com> Show the new tab when creating it from the bookmarks/history.

When we are in the tab picker and a new tab is created from bookmarks/history,
show the new tab in the picker and then animate to it. Only do this for the
"open tabs in background" setting since openTab() will show the tab if that
setting is false.

We animate to the new tab because we currently don't have a way to show the new
tab in the tab picker with updated picker data (title and url in particular).
So instead of showing a blank tab, animate to the tab. Once the animations have
been redesigned and the code refactored, this will hopefully get better.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
65c1ba90e4a1e9534ea58bb289eeec92b82fcfc3 13-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am bae196df: Merge change 6811 into donut

Merge commit 'bae196df36929647356d03e35cbfbdb453e3833b'

* commit 'bae196df36929647356d03e35cbfbdb453e3833b':
Fix #1953520. When MENU is down, consume the key in the BrowserActivity which are not shortcut keys. So it won't trigger the search panel. If a shortcut action is taken, reset the mMenuIsDown as it has been used once.
6ee9c498b8cf648f1507281ed5a1834ba3390907 13-Jul-2009 Grace Kloba <klobag@google.com> Fix #1953520. When MENU is down, consume the key in the BrowserActivity which are not shortcut keys. So it won't trigger the search panel. If a shortcut action is taken, reset the mMenuIsDown as it has been used once.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f450cd0d744da48a5bdd9cdb6cc23a2df8b31db4 10-Jul-2009 Grace Kloba <klobag@google.com> am cf849950: Fix 1970279. Like "Go", search key should get the current url and pre-fill it in the search/goto widget.

Merge commit 'cf849950fe8ad5425ccd82b48b9a014dea8a288e'

* commit 'cf849950fe8ad5425ccd82b48b9a014dea8a288e':
Fix 1970279. Like "Go", search key should get the current url and pre-fill it in the search/goto widget.
cf849950fe8ad5425ccd82b48b9a014dea8a288e 10-Jul-2009 Grace Kloba <klobag@google.com> Fix 1970279. Like "Go", search key should get the current url and pre-fill it in the search/goto widget.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c9b5556351b59caec77b4eec1ad30652fec6a4d9 07-Jul-2009 Andrei Popescu <andreip@google.com> Add fullscreen support back in.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
87ae77b8f7cc8a05f9155018d26bc71e505dc436 07-Jul-2009 Leon Scroggins <scroggo@google.com> Associate screenshots with original url.

Partial fix for http://b/issue?id=1949260 : can't get a thumb for
facebook.com. Associate the screenshot with the original url so
a bookmark that was redirected will still get updated with the
picture.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2a6725815dd0a147b90c7d60298cc4abecb0d1ff 01-Jul-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of 47fdfdb9 to master
d3ba2098fc6d4ca6d87c5dfc6c39782c596bcf46 01-Jul-2009 Grace Kloba <klobag@google.com> am 81678d92: Fix #1947053. Use EXTRA_POST_DATA to send POST request to the WebView. This is used for sending location now.

Merge commit '81678d9216458266ea70cd62d52f28f744873556'

* commit '81678d9216458266ea70cd62d52f28f744873556':
Fix #1947053. Use EXTRA_POST_DATA to send POST request to the WebView. This is used for sending location now.
47fdfdb989ffb79590a39c40792be995de32e521 30-Jun-2009 Grace Kloba <klobag@google.com> Remove "search_url" in the debug setting as search is controlled by the search manager now.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
81678d9216458266ea70cd62d52f28f744873556 30-Jun-2009 Grace Kloba <klobag@google.com> Fix #1947053. Use EXTRA_POST_DATA to send POST request to the WebView. This is used for sending location now.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b3c02da4553b1a629b16377970fdabae28394c94 30-Jun-2009 Feng Qian <fqian@google.com> Add a UI for setting JS flags.

The UI only shows up when 'about:debug' is typed in the address bar.
JS flags are a string '--heap-stats --log-gc' in V8 etc.

Currently this is only used by V8 build for debugging purpose.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
78f757042015063d016b15893a650c44fdfd4e5c 26-Jun-2009 Andrei Popescu <andreip@google.com> Make the video bg black. It is nicer
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
adc008d2d87676a2a32e93afba20156a2bf2355b 26-Jun-2009 Andrei Popescu <andreip@google.com> Fullscreen video support. Replaces 5140
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2a5d17f0f379dd1452db8104808980ee01c684e9 25-Jun-2009 Grace Kloba <klobag@google.com> am 5b078b5b: Fix #1705293. When we about to hijack the url, we check the intent first. If it is not resolved to any activity, we will try to download it from the Market.

Merge commit '5b078b5b8f166a14ab88137e478f868959c5befa'

* commit '5b078b5b8f166a14ab88137e478f868959c5befa':
Fix #1705293. When we about to hijack the url, we check the intent first. If it is not resolved to any activity, we will try to download it from the Market.
5b078b5b8f166a14ab88137e478f868959c5befa 25-Jun-2009 Grace Kloba <klobag@google.com> Fix #1705293. When we about to hijack the url, we check the intent first. If it is not resolved to any activity, we will try to download it from the Market.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
92b1c4b120ddc406a2206b5e26aa782146eb285a 23-Jun-2009 Satish Sampath <satish@android.com> am 15e9f2dc: Pass through SearchManager.APP_DATA bundle in web searches.

Merge commit '15e9f2dc92cf1621f95071b3c740f46079aa0f3b'

* commit '15e9f2dc92cf1621f95071b3c740f46079aa0f3b':
Pass through SearchManager.APP_DATA bundle in web searches.
15e9f2dc92cf1621f95071b3c740f46079aa0f3b 23-Jun-2009 Satish Sampath <satish@android.com> Pass through SearchManager.APP_DATA bundle in web searches.

This got missed when we made the change to invoke the system default web search handler instead of the browser directing all searches to Google. This makes sure that the receiving web search providers can pass on the source parameter appropriately as part of the results page that they launch.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8e9ab66a8acf40c7ad2e2cdd0c791ca4bdafce49 22-Jun-2009 Grace Kloba <klobag@google.com> am 2595f146: Use the new Secure settings for location. Also added the code to invoke the consent dialog.

Merge commit '2595f146fecd3828231c6611362cce65acd9afb6'

* commit '2595f146fecd3828231c6611362cce65acd9afb6':
Use the new Secure settings for location. Also added the code to invoke the consent dialog.
2595f146fecd3828231c6611362cce65acd9afb6 22-Jun-2009 Grace Kloba <klobag@google.com> Use the new Secure settings for location. Also added the code to invoke the consent dialog.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
6309c526e57454da6d0c5de93f2894c2ded3a1b1 22-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 73972695: Merge change 4925 into donut

Merge commit '73972695c844b25370ad738bb76e8eb2e9cd81e6'

* commit '73972695c844b25370ad738bb76e8eb2e9cd81e6':
Fix 2 NPEs in the Browser.
d068f8015daa84296463fcc0420e40e35e40fe7d 22-Jun-2009 Patrick Scott <phanna@android.com> Fix 2 NPEs in the Browser.

The first was from freeMemory getting a tab back that had already been freed.
This is a really hard case to reproduce but it appears that it can happen. So
just check for a null mMainView before trying to free the tab.

The second was a null mTabOverview during the onAnimationStart method when
animating to the tab overview. I think this is caused by message delays not
being accurate enough to ensure the overview has been created. A check for null
fixes the problem for now but I am working on a better solution to ensure
animation message order.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b6b7f9ef3b4ed220063f555d8b7c205210a61a04 18-Jun-2009 Leon Scroggins <scroggo@google.com> Use a grid view for bookmarks page.

The BrowserProvider now stores another blob
for a screenshot of the page. If the current
page is a bookmark, store a screenshot. When
viewing bookmarks, show a gridview of screenshots
of the bookmarks.

Requires a change to framework to add THUMBNAIL
to Browser.BookmarkColumns and to the HISTORY_PROJECTION
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7874657df1a62c8e3b2b9fcc47570333664d6988 18-Jun-2009 Dianne Hackborn <hackbod@google.com> am 99189435: Update browser to use new Intent URI expansion.

Merge commit '9918943559193e3e047a1c18442e2cdb0fe22b15'

* commit '9918943559193e3e047a1c18442e2cdb0fe22b15':
Update browser to use new Intent URI expansion.
9918943559193e3e047a1c18442e2cdb0fe22b15 18-Jun-2009 Dianne Hackborn <hackbod@google.com> Update browser to use new Intent URI expansion.

This changes the browser's URI->intent processing to use the new generic
"intent:" scheme supported by Intent. Doing so allows the user to
provide links to arbitrary intents in a web page. The browser restricts
which intents can actually be execute to those supported by the
BROWSABLE category by adding this to the resulting Intent and making
sure there is no explicit component in the Intent.

With the addition of package-specific Intents, this allows people to
have a link that is guaranteed to launch an activity in their own
package, not allowing others to intercept it.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
74c5a874a148c4d80354b6c88a8151374aa25b62 18-Jun-2009 Mitsuru Oshima <oshima@google.com> am 7944b7de: conflict fix

Merge commit '7944b7def8b04c3dc0cb8815a8527aba8c91b219'

* commit '7944b7def8b04c3dc0cb8815a8527aba8c91b219':
conflict fix
7944b7def8b04c3dc0cb8815a8527aba8c91b219 17-Jun-2009 Mitsuru Oshima <oshima@google.com> conflict fix
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ec7eb37292836652e096b5804877e803e2505136 16-Jun-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of 60e095c1 to master
60e095c190496d42327f8ec2ef990c044d15a76f 16-Jun-2009 Grace Kloba <klobag@google.com> Add location info if the VIEW action to the Browser has EXTRA_APPEND_LOCATION on.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1536e7307cd5ec7d71f9b5a40972c58846aee554 11-Jun-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of 95d601f6 to master
32e14a6deccfa75490b3032bb4ddd5ae90f89de8 11-Jun-2009 Leon Scroggins <scroggo@google.com> Only show the host portion of the url in the title bar.

For security reasons, we want to ensure that the domain
name of the current page is being shown in the title bar.
Use BrowserActivity's method of building the url for the
title bar, which also shows https if it is a secure site.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
95d601f66135d078c113c58d9aaa6e4a76fd80f2 11-Jun-2009 Patrick Scott <phanna@android.com> Shorten the tab animation duration and the overview delay.

Also fix a few NPEs from the UrlData change.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f26aeabb17d38ed39a0711afcf51694cc69c8d51 11-Jun-2009 Mitsuru Oshima <oshima@google.com> Merge commit '3b0a65' into fix

Conflicts:

src/com/android/browser/BrowserActivity.java
25ad8ab821d67293a5f53e8d341492be06e187ee 11-Jun-2009 Mitsuru Oshima <oshima@google.com> Squashed commit of the following:

commit a81c695597665c0bae7e0af2ab98bf0d7ef96cbc
Author: Mitsuru Oshima <oshima@google.com>
Date: Wed Jun 10 14:45:55 2009 -0700

* added inline scheme support that shows content using WebKit#loadDataWithURL
* removed data scheme from manifest
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e4b3bda762ab616b2899c8de084e515f01b99c8a 09-Jun-2009 Leon Scroggins <scroggo@google.com> Updates to the browser's custom title bar.

Use an asset copied from the Market for the background. Since this background is
dark, change the title's text to white, as well as the dividing line. Changed
the functionality of the buttons on the title bar. Also flipped the title and
the url, and fixed a bug where "Loading..." remained for too long. Also added
the drop shadow below the title bar.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0e85b6296013439449b9ca9e067f0c486178eb39 05-Jun-2009 Leon Scroggins <scroggo@google.com> am 0d7ae0ed: Fix a monkey crash.

Merge commit '0d7ae0ed82e21d472cde8cf92b5657d8ee8ca0d8'

* commit '0d7ae0ed82e21d472cde8cf92b5657d8ee8ca0d8':
Fix a monkey crash.
0d7ae0ed82e21d472cde8cf92b5657d8ee8ca0d8 05-Jun-2009 Leon Scroggins <scroggo@google.com> Fix a monkey crash.

The monkey crashed because getTopWindow() returned null.
Ensure that we either have a top window, or we are in
the tab picker. If neither is true, return false, to
avoid the null pointer exception.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7db26347577132b8c4def47ccd410e7b9d0821bb 03-Jun-2009 Ben Murdoch <benm@google.com> When a JavaScript console message is received from WebCore, write it to the log.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
2a5ba61bb033482651c3dc60fd767b23e8f515f5 05-Jun-2009 Satish Sampath <satish@android.com> am bc5b9f35: Include ACCEPTED_URI_SCHEMA in url patterns to skip.

Merge commit 'bc5b9f358a2b75bf3a104b9f5cd477ad2f6f740f'

* commit 'bc5b9f358a2b75bf3a104b9f5cd477ad2f6f740f':
Include ACCEPTED_URI_SCHEMA in url patterns to skip.
81db366d79bb317de62fed05eb58906abd88a75e 04-Jun-2009 Leon Scroggins <scroggo@google.com> Use a custom title bar that is touchable.

The new title bar is thicker and has areas that can be touched
to open the search bar, zoom in, zoom out, and stop a load. Also
inserted a flag to use the old title bar.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1ce8b881f3e4294a3bdb5abb94a5884c468874b9 04-Jun-2009 Patrick Scott <phanna@android.com> am 598c9ccf: Do not use the original url in onReceivedTitle.

Merge commit '598c9ccf8641e0e4563bba2fd5613bcb4de766ec'

* commit '598c9ccf8641e0e4563bba2fd5613bcb4de766ec':
Do not use the original url in onReceivedTitle.
bc5b9f358a2b75bf3a104b9f5cd477ad2f6f740f 04-Jun-2009 Satish Sampath <satish@android.com> Include ACCEPTED_URI_SCHEMA in url patterns to skip.

Without this inclusion, the web search detection code thought that URLs
of the format about:blank or about:debug were web searches and passed
them on to the search provider.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
598c9ccf8641e0e4563bba2fd5613bcb4de766ec 04-Jun-2009 Patrick Scott <phanna@android.com> Do not use the original url in onReceivedTitle.

We used to use the original url because that was what was entered into the
history database. Now, with a change in webkit, the correct url will be passed
to updateVisitedHistory if the server sent a redirect. This allows for the
correct url and title to be displayed in the title bar as well as the correct
url and title to be stored in the history.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
afcf198a24a9e88592067f544b8a132c2a2fcd10 03-Jun-2009 Satish Sampath <satish@android.com> resolved conflicts for merge of 565505 to master
565505b1a2c1d3099496af5910760087602e994a 29-May-2009 Satish Sampath <satish@android.com> Use system default web search & suggestions providers.

- Web search was hard coded to Google and suggestions in the search dialog were hard coded to the GoogleSearch suggest provider package. Both now point to the system default web search/suggest provider which can include third party search engines.
- I also removed the intent filter to handle action.WEB_SEARCH from the browser because it should no longer provide web search functionality for other apps, that feature is provided by the recently added WebSearchProvider package. Removing this intent filter also removes the browser from the list of web search providers in the system settings.
- As part of this change I had to factor out the search shortcut code to a separate function, add a couple of new functions and modify the browser provider code to access cursor fields in a safe manner.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7bfa63b55644fbf2da1fe6a24b3be0267529202c 28-May-2009 Mike Reed <reed@google.com> call webview's onPause/onResume in the right places:
- pause when a view is in a non-current tab
- pause the current view when the activity itself is paused
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8ca2c797c8d11168b4055b6ec6b75d87bb8c4e45 27-May-2009 Grace Kloba <klobag@google.com> Add location info to the SEARCH and change it to use postUrl instead of loadUrl() when it is needed.

Have to change the signature of sendAnimateFromOverview to include the extra postData field.

Temp add ""&action=devloc" to enable server side location query.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a3f90f06f5b3b7db18f30eca5322796fc6b4c2e3 26-May-2009 Grace Kloba <klobag@google.com> Merge commit 'f2c5c1b555904400f4092888ae81b8ed74bfe026' into manualfix

Conflicts:
src/com/android/browser/BrowserSettings.java
f2c5c1b555904400f4092888ae81b8ed74bfe026 26-May-2009 Grace Kloba <klobag@google.com> Fix #1722851. Move the Browser's default home page to the resource so that we can localize it easily.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
68737c2376714e572716d153b79de4e17f1d482d 19-May-2009 Mitsuru Oshima <oshima@google.com> am 123ecfb2: bug fix: browser was not replacing whitepsace in url if scheme is not fully lowercased.

Merge commit '123ecfb21e7ca670e3d04efe58780b3bac54a9a1'

* commit '123ecfb21e7ca670e3d04efe58780b3bac54a9a1':
bug fix: browser was not replacing whitepsace in url if scheme is not fully lowercased.
123ecfb21e7ca670e3d04efe58780b3bac54a9a1 19-May-2009 Mitsuru Oshima <oshima@google.com> bug fix: browser was not replacing whitepsace in url if scheme is not fully lowercased.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b4da0ad0351996f639b50f9f29b123a9b5c24fd0 14-May-2009 Grace Kloba <klobag@google.com> Track the package manager. So if there is a Browser plugin installed or unintalled, we will update the WebView properly.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
78a98e459323f938e97789a6131beddbebb459ce 11-May-2009 Nicolas Roard <nicolasroard@google.com> Add UI support in the browser for HTML5 databases
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fce182bff7713a12714018327f6da9500011ab17 08-May-2009 Leon Scroggins <scroggo@google.com> Avoid using a deprecated method.

The Cursor method commitUpdates has been deprecated, in favor
of using ContentResolver.update. Eliminate this call of
commitUpdates.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4c5cea0286f5b8be8c1b2d61444f0539ffb58511 07-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 910ac1a: Merge change 1006 into donut

Merge commit '910ac1a8b53218984608d0d4ebde767f2c6c7f63'

* commit '910ac1a8b53218984608d0d4ebde767f2c6c7f63':
Update google_search_base for chinese language.
e9651c3366520fcbc1fba6b3ee662cae95fcea7b 05-May-2009 Bill Napier <napier@google.com> Update google_search_base for chinese language.

Changed default search base for china to be www.google.cn and changed the language param.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
092dd5d22d7f2ee0efcc68bd6e5a3afd1ea98953 22-Apr-2009 Ben Murdoch <benm@google.com> Merges p9 CLs 144856 and 145055 to GIT to enable the Database API in the browser.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
eff59c63e8f3400944316297369c75cfebe60513 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 761b3b5: Merge change 423 into donut

Merge commit '761b3b5a23c06b64b9ecb99953665d2059e3b145'

* commit '761b3b5a23c06b64b9ecb99953665d2059e3b145':
Show the saved picture for freed tabs.
3ed26ae61becf077052638c831614eeba3a11f8f 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
2ed6edb70dae14691de2109e97fd54feedd84464 22-Apr-2009 Patrick Scott <phanna@android.com> Show the saved picture for freed tabs.

Create a small class containing the data needed to display the saved or current
picture. For freed tabs, inflate the picture and use the saved state from
mSavedState. Reorganize populatePickerData to use the current top window or the
saved state depending on if the tab has been freed.

There was another bug where onNewPicture would update the wrong FakeWebView due
to ListViews reusing the same view. Have the tab manage the new picture and
invalidate the FakeWebView. When reusing the view, clear out the tab's
FakeWebView field.

Wipe all the picker data at the same time the ImageGrid and ImageAdapter are
cleared.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ae641ac4bbe1c7c3fb235774cb84d910573595c7 20-Apr-2009 Patrick Scott <phanna@android.com> Check for null before animating the tab/webview.

The tab will most likely not be null but the top window could easily be null if
the tab has been freed due to low memory. Update getTabIndex to return -1 if the
tab is null.
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
c0976cb1a281b0ce0233f533be00ef77cbf66823 14-Apr-2009 Grace Kloba <> Merge branch 'readonly-p4-master'
c9181841c7ed6b9f7dfc953eab8dc7ba1047022c 14-Apr-2009 Grace Kloba <> AI 146114: Fix #1770479. When a window is opened by "Open in new window", back should take it back to the window where it is opened from.
BUG=1770479

Automated import of CL 146114
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
31a6d1cb63a513712bad717a6239919fd5428fd1 14-Apr-2009 Dave Bort <dbort@android.com> Browser: Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
e76e53a590b83221eb6b97d28322b87df5449dad 09-Apr-2009 Patrick Scott <> Merge branch 'readonly-p4-master'
fb5e77fac7b8b311fe72827183f8988f5ee92a5f 09-Apr-2009 Patrick Scott <> AI 145181: There might not be a current tab during onDestroy so check before
detaching it from the view system.
BUG=1746760

Automated import of CL 145181
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3dc09b269fe4af164371f7a8268a5554b32c1be2 01-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Use the new download manager APIs introduced in change 7400

Conflicts:

src/com/android/browser/BrowserActivity.java
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0ba83cebb55525d3a207149a2847d2a0dac42f03 26-Mar-2009 Grace Kloba <> Automated import from //branches/donutburger/...@142729,142729
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
3d493dbdb2bc5f0eb4464ae9040aaec7bcb082d6 26-Mar-2009 Grace Kloba <> Automated import from //branches/master/...@142773,142773
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
87dae9ab44c6538265c86deccb29ee125c5c74d2 25-Mar-2009 Grace Kloba <> Automated import from //branches/master/...@142273,142273
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b7a0f3f152916edd046ff0e3f27f381dff18d35c 25-Mar-2009 Grace Kloba <> Automated import from //branches/donutburger/...@142261,142261
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b34f87a2e13af13d697130482af01b537ab7c5fd 25-Mar-2009 Feng Qian <> Automated import from //branches/master/...@142050,142050
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
dd4f4297c08803b238af28dddb373a1aea06cc1e 25-Mar-2009 Ramanan Rajeswaran <> Automated import from //branches/master/...@141638,141638
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f447f26579a10515272f5b9824c918a56a9b104b 25-Mar-2009 Ramanan Rajeswaran <> Automated import from //branches/donutburger/...@141637,141637
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
37911c78a0647567fd9fa49125e7de37455b2d5a 25-Mar-2009 Patrick Scott <> Automated import from //branches/master/...@140606,140606
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
a6555249850bdc364de11e3ad54b571b91b1a2a0 25-Mar-2009 Patrick Scott <> Automated import from //branches/donutburger/...@140604,140604
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
f59ec877363eaf43118677f249008eddc7a9ce11 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
cb9a0bbc3a00a044fbfdabda920d3be80b0747f0 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
4e5f58704099c37186d4825c3d55ea5b0527867f 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
0c90888c75eed12f6e2e14a9044faf50bd4af8ed 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
8611831e36b71c844a14788998728f3cd625b833 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
1658a9bc00a3bd692908dcd5b9eb550a49f8f5ec 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
aec52de1c66b9ec52b126705ea1a63c2db6e12e5 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
7561d4fd03750ad668c9a8d513753060c19f28ee 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
fbb2a3ac0739da8207174943c08a289dcddcfab6 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
b7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
066e90873f67cf99f9f1bcb16dc79dae6f0540d4 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
96cb4a4f42a898ddbe76b786b03c17b70f061003 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
765e7c99c2b0b503f6ca6005897224b9d616d49b 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
ba6d7b853c32ad6c3be26c443daa61f322bcfdc2 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Browser/src/com/android/browser/BrowserActivity.java