History log of /packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
914c5591baeb86bf30a5bc28930071442a822d60 01-Aug-2011 Ben Murdoch <benm@google.com> Cache the application context instead of Activity.

When storing a reference to a Context, ensure that it's the
Application context rather than Activity Context.

Bug: 5084293

Change-Id: Ib0be5f8ceb91846bb985d0813a8f22cabd44eaf8
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.java
bf6b54db8f42a42c218f17ec358563e66e8e95ba 18-Feb-2011 John Reck <jreck@google.com> Expand scope of try/catch in DownloadTouchIcon

Bug: 3405675
In case something manages to sneak a bad URL through all the pre-checks,
just catch all exceptions that occur when trying to download the touch
icon and log the exception.

Change-Id: I202e89d9913cd5c3edd309fc8e4c415052d3dd7d
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.java
9e7686e110d3fd1e3ad7742ec27a1c7d54cf9408 17-Feb-2011 John Reck <jreck@google.com> Fix download touch icon

Change-Id: I7bf2d7c3d17f58ddb8fd615c3f1123bb840b211f
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.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/DownloadTouchIcon.java
67832037dbba03f34873878d3f8080ded2ec1017 12-Oct-2010 Bjorn Bringert <bringert@android.com> Merge commit '7bf3f38c493642b181f0c7ddf30b8214e50fea3b' into fix_am

Fixed conflicts:
src/com/android/browser/AddBookmarkPage.java
src/com/android/browser/DownloadTouchIcon.java

Change-Id: I06cc43e41d1a01ef68aaad5dec3923f07d165329
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/DownloadTouchIcon.java
980e99536e2fc6f305432387fe92c9916fa6e7b6 06-Sep-2010 Henrik Baard <henrik.baard@sonyericsson.com> NPE in DownloadTouchIcon because of getPreferredHttpHost

The call getPreferredHttpHost needs a context, however there
are two constructors of the class, one of them does not take
a context as input. Added context parameter to the second
constructor.

Change-Id: Ibe670c5b8848ced88b0756d83d5c13e0961652ae
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.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/DownloadTouchIcon.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/DownloadTouchIcon.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/DownloadTouchIcon.java
5dbfdf9928b782c9325864ed1e8dd0ff22ebc286 16-Jul-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of e7c06a6e to master

Change-Id: If4f2cb14d9a05dc58322732a922e3300ff1a4558
d159ec534823b87f9896843e95912b0df8c27e16 16-Jun-2010 Andreas Sandblad <andreas.sandblad@sonyericsson.com> Use proxy for downloads.

Use the new Proxy method getPreferredHttpHost to use proxy for
downloads.

Change-Id: I4224e29ba4b37bd570d84382764e08f9babe6530
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.java
e322f56ac6f425e08018319fb00df2bbaf569e33 01-Jul-2010 Ben Murdoch <benm@google.com> Download a touch icon without putting it into the database.

Adds functionality to DownloadTouchIcon to pass a message back containing
the touch icon bitmap rather than inserting it into the bookmarks database.

This will be used by the installable web apps work.

Change-Id: Ic87a571b84bf5a940a6c55a59423cd8556ebcef1
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.java
c8393d9cfa47e3f5f279b17c412fd363e7ea94bd 23-Apr-2010 Leon Scroggins <scroggo@google.com> Move queryBookmarksForUrl to background thread.

Bug 2611964

Change-Id: I8f69ec42fbf880d031cfc2372cffd9719db4e280
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.java
8e9fe327af19df2df03a2546c97604b095acd5e1 04-Mar-2010 Patrick Scott <phanna@android.com> Close the bookmarks cursor.

If no touch icon loader is created, close the cursor immediately. Close the
cursor in doInBackground to ensure that the cursor is closed even in error.

Bug: 2483029
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.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/DownloadTouchIcon.java
c6343adff2abb5ae8ec2cc7ba613dd7e48ba7e9a 12-Dec-2009 Paul Westbrook <pwestbro@google.com> Changed class paths for classes moved in unbundling effort
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.java
a74f6963e548b7552d25fc4f851360dc74248958 10-Nov-2009 Patrick Scott <phanna@android.com> Do database access in the background thread to prevent ANR.

Bug: 2222528
/packages/apps/Browser/src/com/android/browser/DownloadTouchIcon.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/DownloadTouchIcon.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/DownloadTouchIcon.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/DownloadTouchIcon.java