OSDN Git Service
Leon Scroggins III [Thu, 8 Apr 2010 14:34:14 +0000 (10:34 -0400)]
Use new assets for green box in voice title bar.
The new assets have a better margin to match the other
search field textfields. Also update title_voice.xml to use a
pressed state that matches the new assets. In TitleBar.java,
do not clear out the vertical padding in voice search mode.
Bug
2566133
Change-Id: Icb15d0660d2f06363e66adbdd92537e34b90b64e
Kenny Root [Wed, 7 Apr 2010 23:05:59 +0000 (16:05 -0700)]
Remove "Do not translate" and restore translations
Some "Do not translate" comments were inadvertently left when removing
unused strings which made the translation tools skip the next string
entry. This removes those comments and restores the translations for the
missing strings.
Bug:
2579112
Change-Id: I731217d4cf6581885c122fefd180133c243fa1f7
Leon Scroggins [Wed, 7 Apr 2010 21:59:48 +0000 (17:59 -0400)]
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
Cary Clark [Thu, 8 Apr 2010 13:11:28 +0000 (09:11 -0400)]
use 565 bitmap instead of 4444 to improve quality
http://b/
2577416
Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c
Patrick Scott [Tue, 6 Apr 2010 20:36:12 +0000 (16:36 -0400)]
Update bookmark favicons in the background.
Bug:
2573890
Change-Id: I7c9ebfd1b561c40d806988e65f7e89d5cd283f89
Grace Kloba [Sat, 3 Apr 2010 06:37:26 +0000 (23:37 -0700)]
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
Guang Zhu [Fri, 2 Apr 2010 20:05:08 +0000 (13:05 -0700)]
Merge "add launch performance test for browser" into froyo
Mike LeBeau [Thu, 1 Apr 2010 21:57:10 +0000 (14:57 -0700)]
Add "android.speech.extras.SEND_APPLICATION_ID_EXTRA"=false to the
voice search intent, as discussed in http://b/
2546173
Change-Id: I60650d096a874cfe089a4ba691c9ae44802f2419
Guang Zhu [Thu, 1 Apr 2010 18:21:43 +0000 (11:21 -0700)]
add launch performance test for browser
this is part of a larger effort to collect app launch performance for the platform.
Change-Id: Id7159c67b0d746c9a109988e05f53be6a10921af
Ben Murdoch [Thu, 1 Apr 2010 14:07:41 +0000 (15:07 +0100)]
Update the JNI bindings unit test in light of b/
2540502
Change-Id: I166331ce198fba188df5365695a20588870374c4
Leon Scroggins [Wed, 31 Mar 2010 19:11:47 +0000 (12:11 -0700)]
Merge "Lessen the difference in appearance of title bar during load." into froyo
Leon Scroggins [Wed, 31 Mar 2010 18:50:47 +0000 (14:50 -0400)]
Lessen the difference in appearance of title bar during load.
Change to using textfield_search_empty assets, which have margin
values that better match the assets used outside of a load. As
a result, there is no longer a need to edit the LayoutParams in
TitleBar.java. However, do set the padding in TitleBar.java, since
it needs to be set for each of the different backgrounds used.
Fixes http://b/issue?id=
2558919
Change-Id: Idf0d8bea59bcc76c32e1e03bf736a4b64bf31887
Ben Murdoch [Wed, 31 Mar 2010 11:26:42 +0000 (04:26 -0700)]
Merge "Add a test for verifying the JS -> Java bindings." into froyo
Grace Kloba [Tue, 30 Mar 2010 23:00:26 +0000 (16:00 -0700)]
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
Patrick Scott [Tue, 30 Mar 2010 17:57:29 +0000 (13:57 -0400)]
Draw the touch icon better.
Use the application icon size to get the correct dimensions. Copy the bitmap to
the correct size and change the config to allow alpha.
This doesn't fix the part of the bug that prefers precomposed over regular touch
icons. That requires a change to frameworks/base.
Bug:
2546984
Change-Id: Ifee474cd3540456383f84bf563bc92df63e0b010
Leon Scroggins III [Tue, 30 Mar 2010 18:06:10 +0000 (11:06 -0700)]
Merge "Prevent an IllegalStateException." into froyo
Ben Murdoch [Mon, 29 Mar 2010 10:55:47 +0000 (11:55 +0100)]
Add a test for verifying the JS -> Java bindings.
Change-Id: I7d15efd5cc1c40d9c0c5b7cf1a5a7f9775a709d7
Kenny Root [Tue, 30 Mar 2010 16:25:59 +0000 (09:25 -0700)]
Merge "Import revised translations" into froyo
Kenny Root [Tue, 30 Mar 2010 16:15:36 +0000 (09:15 -0700)]
Import revised translations
Change-Id: Ib2fcd8c44300af2772abd734271ff7bd558d4a8c
Leon Scroggins III [Tue, 30 Mar 2010 15:24:14 +0000 (11:24 -0400)]
Prevent an IllegalStateException.
Also add Log statements to help determine the root problem.
Fix for http://b/issue?id=
2532489
Change-Id: I90e6e4b4a1d0602a5baf3362b732e73d47cc49bf
Kristian Monsen [Thu, 25 Mar 2010 18:29:21 +0000 (18:29 +0000)]
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
Adam Powell [Mon, 29 Mar 2010 23:01:49 +0000 (16:01 -0700)]
Remove overscroll
Change-Id: I680a7d36a8f782f03abf1994023922c840bed993
Shimeng (Simon) Wang [Mon, 29 Mar 2010 23:13:09 +0000 (16:13 -0700)]
Fill in the home page in the preferences when browser is launched first time.
Issue:
2554240
Change-Id: Ia63bf9ec7463db4548f88985925ef0759234753d
Andrei Popescu [Mon, 29 Mar 2010 11:12:55 +0000 (12:12 +0100)]
Re-enable page cache.
Fix b:
2533219
Change-Id: Ida1122cd9a137a9d4caba8187bf48f9688889747
Steve Block [Thu, 25 Mar 2010 17:24:58 +0000 (17:24 +0000)]
Fixes browser to store and read HTTP authentication credentials in the correct WebView.
Change-Id: Ib9831e7985232a5f362ef529d1aec2ee1e4fbecd
Cary Clark [Thu, 25 Mar 2010 15:17:03 +0000 (11:17 -0400)]
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
Bjorn Bringert [Wed, 24 Mar 2010 11:12:02 +0000 (11:12 +0000)]
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
Guang Zhu [Wed, 24 Mar 2010 20:48:25 +0000 (13:48 -0700)]
Merge "Prevent HTTP auth dialog from shwoing during test"
Guang Zhu [Wed, 24 Mar 2010 20:32:54 +0000 (13:32 -0700)]
Prevent HTTP auth dialog from shwoing during test
Change-Id: Ia10e72eec60d8c2155df95dec06334beb9feaab6
Leon Scroggins [Wed, 24 Mar 2010 18:45:57 +0000 (14:45 -0400)]
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
Eric Fischer [Tue, 23 Mar 2010 22:32:40 +0000 (15:32 -0700)]
Mark these token strings as untranslatable.
Change-Id: I7ec6ca85a12cb705bc7c934509f1da547d6c4ed1
Patrick Scott [Mon, 22 Mar 2010 14:19:32 +0000 (10:19 -0400)]
Add the on-demand setting for plugins.
Requires a change to webkit and the framework.
Bug:
2411524
Change-Id: I874e4e2139eedf4bc9332947fe6513b027e660d9
Andrei Popescu [Tue, 23 Mar 2010 15:04:36 +0000 (15:04 +0000)]
Use a Thread instead of an AsyncTask for removing Gears. This is because
the database upgrade method can be invoked on any thread (e.g. a Binder
thread, when QSB makes an IPC call to the Browser content provider).
Fix b:
2529299
Guang Zhu [Mon, 22 Mar 2010 17:47:49 +0000 (10:47 -0700)]
Merge "updates and improvements on PopularUrlsTest"
Guang Zhu [Mon, 22 Mar 2010 17:11:24 +0000 (10:11 -0700)]
updates and improvements on PopularUrlsTest
* changed time recording unit from ns to ms
* implemented a timeout mechanism for page loading
* fixed a bug where url list will iterate forever
* minor changes in logging
Change-Id: I5f9812d2573d6942ddf404cf3fbb1782f328c73d
Cary Clark [Mon, 22 Mar 2010 15:45:23 +0000 (11:45 -0400)]
reject unhandled key events if browser is paused
http://b/
2532511
Change-Id: Idd08b90d3a5dec61c9328eecda834f2fcc7d16f5
Leon Scroggins [Mon, 22 Mar 2010 14:59:54 +0000 (07:59 -0700)]
Merge "Show stop button in a pressed state when pressed."
Leon Scroggins [Mon, 22 Mar 2010 14:54:04 +0000 (10:54 -0400)]
Show stop button in a pressed state when pressed.
Fix for http://b/issue?id=
2533372
Change-Id: I9a614a95f5537d17c9cb89e96afe6c21fc56d59a
Leon Scroggins III [Mon, 22 Mar 2010 14:17:58 +0000 (10:17 -0400)]
Make selection color fill underneath the scroll bar for downloads.
Fix for http://b/issue?id=
2532825
Change-Id: Ida953c8c3db4e0391a72d07906db0c8bd91171b6
Andrei Popescu [Fri, 19 Mar 2010 20:44:21 +0000 (20:44 +0000)]
Diasble page cache on high-end devices while b:
2525377 is not fixed.
Grace Kloba [Sat, 20 Mar 2010 01:40:09 +0000 (18:40 -0700)]
Enable +/- zoom control for the sub-window.
This should also enable the pinch zoom
Fix http://b/issue?id=
2530401
Grace Kloba [Sat, 20 Mar 2010 00:44:21 +0000 (17:44 -0700)]
Set sub window to scrollbars_outside_overlay to
match the style we use for the main window.
Fix http://b/issue?id=
2531179
Grace Kloba [Fri, 19 Mar 2010 22:22:54 +0000 (15:22 -0700)]
Match the new webview overscroll background api
Brad Fitzpatrick [Fri, 19 Mar 2010 20:35:21 +0000 (13:35 -0700)]
Allow Browser bookmarks from AnyCut; don't NPE without Extras.
Change-Id: I884936ceaeabf76cc8aaf7f1dbfeecd82b5c2fd0
Grace Kloba [Fri, 19 Mar 2010 04:44:14 +0000 (21:44 -0700)]
Update the browser title bar background asset
Remove the shadow in the faked title bar.
Fix http://b/issue?id=
2521294
Shimeng (Simon) Wang [Thu, 18 Mar 2010 22:58:27 +0000 (15:58 -0700)]
Clean the obsolete string for retrieving login credentials.
Change-Id: Iddf86aaee279e2749ad7933fc6ea32f827559727
Leon Scroggins [Thu, 18 Mar 2010 19:06:15 +0000 (15:06 -0400)]
Close the SearchDialog when a new Intent opens the browser.
Fix for http://b/issue?id=
2522723
Change-Id: Idf5d878d45b40be93a222385111a87ec32aa2f1b
Leon Scroggins [Thu, 18 Mar 2010 18:44:44 +0000 (14:44 -0400)]
Show a toast when a download starts.
Fix for http://b/issue?id=
2524416
Change-Id: I0f6502a8e6a6041da144d94e2a0e7abdcfca687e
Eric Fischer [Thu, 18 Mar 2010 17:52:00 +0000 (10:52 -0700)]
Merge "Import revised translations"
Brett Chabot [Thu, 18 Mar 2010 16:15:19 +0000 (09:15 -0700)]
Fix build: add missing import.
Change-Id: I7f26dda7036136724eaa45b0c1d6b9ecbe07b614
Grace Kloba [Thu, 18 Mar 2010 15:42:40 +0000 (08:42 -0700)]
Merge "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."
Patrick Scott [Thu, 18 Mar 2010 14:51:39 +0000 (10:51 -0400)]
Make sure the icon database is created in the UI thread.
The monkey can launch the activity before the icon database has been created. If
getInstance() is called in a different thread, a looper will not exist.
I thought about forcing WebIconDatabase to use the main looper but that would
limit the use of WebIconDatabase to the main thread.
Bug:
2524758
Change-Id: Iebc1bb6021b084e643e9b180602f999b0ee30a5d
Grace Kloba [Thu, 18 Mar 2010 04:11:15 +0000 (21:11 -0700)]
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
Kenny Root [Thu, 18 Mar 2010 05:06:09 +0000 (22:06 -0700)]
Import revised translations
Change-Id: I1bafa14f897492f3a481997fd83a77e375d04d84
Patrick Scott [Wed, 17 Mar 2010 20:06:30 +0000 (16:06 -0400)]
Use the passed in url as the WebView's url may not be up-to-date.
Bug:
2502742
Change-Id: I8d8a0218e65610fb7006bdbef54b4459728f6390
Leon Scroggins [Wed, 17 Mar 2010 13:07:05 +0000 (09:07 -0400)]
Delete the file even if the ContentResolver does not see it.
Fix for http://b/issue?id=
2519840
Change-Id: Ib4cd844bb94138777fabe0a95b3306995e0bde96
Leon Scroggins [Mon, 15 Mar 2010 22:19:14 +0000 (18:19 -0400)]
Do not destroy the backforward list when doing another voice search.
Fix for http://b/issue?id=
2516327
Change-Id: I0daf8ba6e24be6682d849107914877fb0c31ec4f
Shimeng (Simon) Wang [Tue, 16 Mar 2010 20:23:39 +0000 (13:23 -0700)]
Remove the logic of setting dasher account's home page.
Bug:
2300219
Change-Id: Ibe790a7aaa812b5262c53f542539deead628dc77
Nicolas Catania [Tue, 16 Mar 2010 21:36:51 +0000 (14:36 -0700)]
Merge "Fix for the 'Unable to add window' crash."
Nicolas Catania [Mon, 15 Mar 2010 16:00:14 +0000 (09:00 -0700)]
Fix for the 'Unable to add window' crash.
BrowserBookmarksPage:
Added a new onDestroy method to clean up the pending messages in
the handler.
Fixed a bunch of eol whitespaces (use ignore eol ws in gerrit to
make it easy on your eyes)
Bug:
2090959
Change-Id: I6c17ea9345878c4c7a93259e0b3e6d92dcc317de
Leon Scroggins [Tue, 16 Mar 2010 00:37:16 +0000 (20:37 -0400)]
Use a margin to make the title bar stay the same size while loading.
Allows title_bar to use wrap_content, and therefore be able to show
multiple lines of text in voice search mode.
Fixes http://b/issue?id=
2510376
Change-Id: If196f63577b6606be0129ee224842dc858f5931a
Leon Scroggins [Mon, 15 Mar 2010 20:56:57 +0000 (16:56 -0400)]
Allow going back to a voice search to work when choosing from n-best.
Store a copy of the Intent rather than the Intent itself. This way,
when choosing from the n-best, the number will not be appended to
the original Intent, so pressing back works properly.
Change-Id: Id6a0232339f34e5f91928e2bc1502f8f2fc33228
Leon Scroggins [Mon, 15 Mar 2010 17:10:45 +0000 (13:10 -0400)]
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
Leon Scroggins [Fri, 12 Mar 2010 23:09:39 +0000 (18:09 -0500)]
Close Cursors when finished with them.
Change-Id: Idf284f59b05b3f5b3565f7374899927a70f3ca07
John Spong [Thu, 11 Mar 2010 19:38:04 +0000 (11:38 -0800)]
Writing page + time in one go so that the file always stays in an easily parsable format.
Change-Id: Ia7f5f216d21925aebf5c807ee95036ebf6f6fa35
Leon Scroggins [Thu, 11 Mar 2010 14:33:11 +0000 (09:33 -0500)]
Use AsyncTask to edit history in the background.
Part of http://b/issue?id=
2485421
Change-Id: I19db62679bd0e8df63294b2ad126c7b5c3ff9f52
Patrick Scott [Tue, 9 Mar 2010 21:02:08 +0000 (16:02 -0500)]
Request icons in the background.
BrowserBookmarksAdapter does not need to request bookmark icons as most of the
bookmarks have up-to-date icons. We still need to request all icons on start up
because a new icon may be loaded as a result of clicking a history items.
Move the icon request to a background thread to not block the ui thread on large
db lookups.
Remove MostVisitedActivity as it is no longer used.
Bug:
2496872
Change-Id: I378dce8fdb7e825da96594cd31b720ea24758af1
Shimeng (Simon) Wang [Thu, 11 Mar 2010 00:44:31 +0000 (16:44 -0800)]
Reset the boolean variables when first initialzied and when reset happens.
This is to fix the case when some variables such as landscapeOnly will not
correctly be reset when resetDefaultPreferences happens.
Change-Id: I6389e8fbbb1e7cabb4d7358085c9b5816ca7fe41
Shimeng (Simon) Wang [Tue, 9 Mar 2010 22:30:07 +0000 (14:30 -0800)]
Avoid potential NPE if storage manager is not properly initialized.
Bug:
2498939
Change-Id: I92a14fdcb949d748bebec0a357d8baad37aeb46e
Leon Scroggins [Tue, 9 Mar 2010 22:26:56 +0000 (17:26 -0500)]
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
Leon Scroggins [Wed, 10 Mar 2010 17:13:14 +0000 (12:13 -0500)]
When reverting the voice title bar, display the url.
Fix for http://b/issue?id=
2503151
Change-Id: I8beda0135631d18cc65f5a59dde46142d0c18b08
Grace Kloba [Tue, 9 Mar 2010 18:50:37 +0000 (10:50 -0800)]
Use the new system overscroll background api.
Leon Scroggins [Tue, 9 Mar 2010 14:05:28 +0000 (06:05 -0800)]
Merge "Allow going back to voice search from not-first results."
Leon Scroggins [Tue, 9 Mar 2010 00:53:03 +0000 (19:53 -0500)]
Allow going back to voice search from not-first results.
When going to a result besides the first one, remember the original
Intent which opened voice search mode, and add the number of the
selected result. Now going back to voice search works even if the
user selected a not-first result and then followed a link.
Change-Id: I9db335ec43c442c01f1355e2259d250a65b3aa20
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:56 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk
Change-Id: I6a30929515db7b4daef6903b18ee4eb774c841db
Leon Scroggins [Mon, 8 Mar 2010 23:20:35 +0000 (18:20 -0500)]
Pass attached HTTP headers to WebView from voice search.
Fix for http://b/issue?id=
2496144
Change-Id: I245e7e47a31158a9082a33c1ebcfb7dcf924ee08
Leon Scroggins [Mon, 8 Mar 2010 21:32:25 +0000 (13:32 -0800)]
Merge "Check for null filename before creating a new file."
Leon Scroggins [Mon, 8 Mar 2010 19:34:14 +0000 (14:34 -0500)]
Check for null filename before creating a new file.
Fix for http://b/issue?id=
2496729
Change-Id: I2250e42621df787e2c73da6343436d669177d255
John Spong [Mon, 8 Mar 2010 19:00:55 +0000 (11:00 -0800)]
Merge "Adding ability to resume test after crash."
Christopher Tate [Fri, 5 Mar 2010 23:47:48 +0000 (15:47 -0800)]
Refactor android.backup -> android.app.backup
Change-Id: Ifc005e14e8b7ac921ffa1a56a46c5c4083b4ea2d
Leon Scroggins [Fri, 5 Mar 2010 16:51:20 +0000 (11:51 -0500)]
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
Mike Reed [Fri, 5 Mar 2010 15:30:25 +0000 (07:30 -0800)]
Merge "if savePicture failes, delete the file (which is now unreliable, and possibly large)"
Mike Reed [Fri, 5 Mar 2010 15:13:34 +0000 (10:13 -0500)]
if savePicture failes, delete the file (which is now unreliable, and possibly large)
Patrick Scott [Fri, 5 Mar 2010 13:24:51 +0000 (08:24 -0500)]
Check the network state in onCreate.
This ensures that we set mIsNetworkUp before trying to load a page.
Bart Sears [Fri, 5 Mar 2010 01:34:29 +0000 (17:34 -0800)]
Clean up help text for "Reset to defaults"
http://b/issue?id=
2177671
John Spong [Thu, 4 Mar 2010 22:34:27 +0000 (14:34 -0800)]
Adding ability to resume test after crash.
- Refactoring test method to allow for optional looping and cache cleaning
- Adding test status output to resume + notify after a crash
Eric Fischer [Thu, 4 Mar 2010 22:17:56 +0000 (14:17 -0800)]
Merge "Import new translations"
Eric Fischer [Thu, 4 Mar 2010 22:03:59 +0000 (14:03 -0800)]
Import new translations
Patrick Scott [Thu, 4 Mar 2010 19:35:46 +0000 (11:35 -0800)]
Merge "Close the bookmarks cursor."
Patrick Scott [Thu, 4 Mar 2010 19:29:31 +0000 (14:29 -0500)]
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
Leon Scroggins [Wed, 3 Mar 2010 22:17:18 +0000 (17:17 -0500)]
Attach the stop button to the textbox in the title bar.
This also required using different assets for the title bar background.
Fix for http://b/issue?id=
2485473
Leon Scroggins [Wed, 3 Mar 2010 21:40:58 +0000 (16:40 -0500)]
Going back to a voice search will reenter voice search mode.
Store the Intent that initiated voice search mode in the history
item, so that when going back to that page, we can reinvoke voice
search with all of the intended extras.
Fix for http://b/issue?id=
2425052
Leon Scroggins [Wed, 3 Mar 2010 17:03:01 +0000 (09:03 -0800)]
Merge "Do not allow our resend/dontresend messages to be sent twice."
Cary Clark [Wed, 3 Mar 2010 15:11:44 +0000 (10:11 -0500)]
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
Bjorn Bringert [Tue, 2 Mar 2010 11:20:29 +0000 (11:20 +0000)]
Use SUGGEST_COLUMN_TEXT_2_URL in browser suggestions
Before, the Browser used an HTML <font> tag to style
URLs in history / bookmark suggestions. The color used
was a hidden framework resource, it assumed that
the caller knew to interpret HTML mark-up, and it only
worked on a light colored background.
Now a separate column is used for displayed URLs, letting
the caller decide how to style URLs.
Part of the fix for http://b/issue?id=
2380681
Change-Id: I1c3981de22bccf9cba2f2b903225ef1b50226758
Leon Scroggins [Tue, 2 Mar 2010 22:57:40 +0000 (17:57 -0500)]
Do not allow our resend/dontresend messages to be sent twice.
Fix for http://b/issue?id=
2340086
Leon Scroggins [Tue, 2 Mar 2010 21:01:49 +0000 (16:01 -0500)]
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
Brian Carlstrom [Tue, 2 Mar 2010 19:09:03 +0000 (11:09 -0800)]
Merge "SslCertificate should provide Date interface"
Brian Carlstrom [Tue, 2 Mar 2010 18:02:34 +0000 (10:02 -0800)]
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.
Grace Kloba [Tue, 2 Mar 2010 03:51:49 +0000 (19:51 -0800)]
Change where "Search for web"'s position.
If there is a matching history/bookmark, it will be
in the second place. Otherwise it will be in the first
place.
Fix http://b/issue?id=
2314166