12461 Commits

Author SHA1 Message Date
Iain Merrick
6a4d0a6af2 Merge "*Don't* disable CacheManager when using Chromium HTTP stack." 2010-12-16 08:52:14 -08:00
Iain Merrick
811665e905 *Don't* disable CacheManager when using Chromium HTTP stack.
This reverts CL https://android-git.corp.google.com/g/84508

After lengthy discussion we have decided that disabling CacheManager
is too risky for third-party apps, and that enough functionality is
still available for it to be useful.

WebView.loadUrl() will not add pages to the cache, but it is still
possible to add them manually via CacheManager.saveCacheFile().

Change-Id: I6cfd9f93bb8d685450f048375adad9d17fa4eeba
2010-12-16 16:31:44 +00:00
Kristian Monsen
d085e1c34f Merge "Fix for crash in third-party app" 2010-12-16 08:23:45 -08:00
Leon Scroggins
633567468a Do not remove WebTextView when focus size changed.
Bug:3244237
Change-Id: I3302a4c0544a19f0f96bce833010889c4742a3a0
2010-12-16 11:16:03 -05:00
Kristian Monsen
d24ce5949d Fix for crash in third-party app
Dolphin crashed when sContext.getCacheDir got called too early.
This was because the let the user choose to use sdcard or
internal memory, and the choice was not yet made.

Change-Id: I8b3ba260c26233c6459efbb9e5e50fad2260a24d
2010-12-16 15:44:33 +00:00
Patrick Scott
80fdd65156 Add EXTRA_SKIP_UI to skip the confirmation page.
Bug: 3284120
Change-Id: I6043ab859a813c7a70a3b782394dc5ace4890294
2010-12-16 08:04:58 -05:00
Adam Cohen
36f43908ae Changing StackView layout to space items differently
Change-Id: Ia46d28312321b338b4a3aec1df9fa00c645f5b73
2010-12-16 00:24:58 -08:00
Amith Yamasani
4aedb39a49 New SearchView assets and close-button behavior change.
Hide the close button in SearchView when there's no text in it and it's not iconified by default.

Bug: 3275206

Adds Holo.Light theme and fixes the query refinement icon.
2010-12-15 20:09:33 -08:00
Gilles Debunne
066460f3ba Fix for testAccessTransformationMethod cts test.
Single line textView should impose their number of lines and their
transformation method.

Bug 3289818

Change-Id: If1f1252ded1250e2aff85f1c615cc2e17026ba1d
2010-12-15 18:28:05 -08:00
Gilles Debunne
33a8cfb0af Show keyboard when user starts a text selection.
Bug 3266297

Change-Id: I1985ab52ae867c4a6c92279986cd6d0654614118
2010-12-15 16:52:51 -08:00
Jaikumar Ganesh
a69293a00d Merge "Add FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT to name changed broadcast." 2010-12-15 16:07:43 -08:00
Gilles Debunne
39be4bdd59 Merge "Support custom themes in TabHost." 2010-12-15 16:01:47 -08:00
Brad Fitzpatrick
f57b00b3d5 Merge "Put Log.wtf's terrible failure in logcat -b main." 2010-12-15 15:16:42 -08:00
Brad Fitzpatrick
26d8fa9dbf Put Log.wtf's terrible failure in logcat -b main.
As discovered by jpa@, previously it was only in logcat -b events, not
-b main, which people don't typically watch.

Bug: 2964398
Change-Id: Id672dd936f1678dd347158428b0ca03e4ad1e2d4
2010-12-15 15:14:06 -08:00
Svetoslav Ganov
f02d4e36d7 Merge "Updating the light Date picker theme. Some UI fixes." 2010-12-15 15:13:49 -08:00
Svetoslav Ganov
99b539f632 Updating the light Date picker theme. Some UI fixes.
Change-Id: Ic83fdf93868bf86478a1173e82f24ac27f6301bc
2010-12-15 15:09:51 -08:00
Huahui Wu
e2975f17cc b/2946595 Remove the touch events filter upon maps.google.com team's request.
Change-Id: I83966bc447f67abdce47a77cb682bc3e834184c3
2010-12-15 15:00:03 -08:00
Alon Albert
744e310f66 Clear all pending backoffs on a reconnect event
Change-Id: I509e2c6c9d95922d196ac805eded523b674ad805
2010-12-15 14:28:52 -08:00
Adam Cohen
c89d59ce18 Merge "Fix in StackView layout" 2010-12-15 13:18:33 -08:00
Jaikumar Ganesh
6a3c473910 Add FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT to name changed broadcast.
BT can come up before the system boots up and we send a broadcast,
this can cause issues.

Bug: 3259948
Change-Id: I53ce6b9851fbf611309db1f0a16768ef9f388e0c
2010-12-15 13:14:47 -08:00
Adam Cohen
20a1b8f586 Fix in StackView layout
Change-Id: I09d9cf52a8301bad78754c7e00f2fd0c6c050045
2010-12-15 13:12:40 -08:00
Dianne Hackborn
a8a9ff20dc am b32ea255: am 7daaa98c: Merge "Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity" into gingerbread
* commit 'b32ea25529589a77ede8faf278068157107ba897':
  Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity
2010-12-15 13:00:52 -08:00
Dianne Hackborn
b32ea25529 am 7daaa98c: Merge "Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity" into gingerbread
* commit '7daaa98c6531373a2a742c1360f0a2795de0619f':
  Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity
2010-12-15 12:58:54 -08:00
Cary Clark
861368a307 extract anchor href and image src separately
Long pressing a link may return an anchor, an image, or an
image in an anchor. Sometimes we want one, sometimes the other.

Make both available so the context menu can choose.

Update the documentation in WebView.java

Companion changes are in external/webkit, packages/apps/Browser

bug:3282745
bug:3263340

Change-Id: I9917a2c69d26601a230051f2e95c9464ba6155e9
2010-12-15 15:23:50 -05:00
Gilles Debunne
0e23ab7091 Support custom themes in TabHost.
CL 76118 introduced style customized tab layout. However, applications
which tabWidgetStyle has been overriden and does not inherit from
Widget.TabWidget will not be able to access tabLayout. Use the default
holo layout for these.

Bug 3235944

Change-Id: I5666c5ef2886060a2175a3d642b012cdaf0a1d50
2010-12-15 12:16:18 -08:00
Adam Cohen
80bc16f7df Merge "New stack visualization" 2010-12-15 11:20:43 -08:00
Dianne Hackborn
99441c45e4 Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity
{com.android.settings/com.android.settings.applications.StorageUse}

AbsListView could call mAdapter.getItemId() if a save state happened
after the data changed but before a layout occurred.

Change-Id: Ica020971dc458dff79b56dd810733e217f4f7da6
2010-12-15 11:02:55 -08:00
Robert Greenwalt
778c0ba858 Fix some older (depricated) API so they work.
Just because they're depricated doesn't mean we can neglect them.

Change-Id: I7556456bd8be2ec57b81b092f75b4b613b538d46
2010-12-15 10:43:04 -08:00
Huahui Wu
957e9ca26e Merge "b/2864818 Prompt the SSL error dialog to user and proceed or cancel the request. C++ side cl: https://android-git.corp.google.com/g/#change,84529" 2010-12-15 09:42:35 -08:00
Huahui Wu
ad053cebc8 b/2864818 Prompt the SSL error dialog to user and proceed or cancel
the request. C++ side cl: https://android-git.corp.google.com/g/#change,84529

Change-Id: I1f4c69c6ddb92324a1ec3c193018e8d703454f56
2010-12-15 09:38:54 -08:00
Ben Murdoch
92272ab189 Merge "Remove fragment as well as the query from URLs when resolving MIME type" 2010-12-15 09:07:02 -08:00
Leon Scroggins
828e8800b1 Merge "Make a long press on a textfield work." 2010-12-15 07:07:51 -08:00
Leon Scroggins
fcf577665b Make a long press on a textfield work.
Bug:3268584

Even if the WebTextView has not been set up yet.

Change-Id: I8ec2c4ef8146006d6ee84d08e1ddbdb099125047
2010-12-15 09:50:53 -05:00
Ben Murdoch
1870015932 Remove fragment as well as the query from URLs when resolving MIME type
When we try to deduce the MIME type from the file extension of
a URL, strip the fragment off at the same time we are stripping
the query. Otherwise we end up trying to match against some
funny extensions.

Bug:3241908

Change-Id: Ibaa84f0a628f37cd012b6cfbed9a6a666ecae8bb
2010-12-15 11:13:16 +00:00
Dianne Hackborn
194157638a Fix launching of activities that I broke.
Change-Id: I39f4189bad6bdecdc7f9362410f36453fd816121
2010-12-15 00:20:27 -08:00
Dianne Hackborn
4f3867e3ce Time to remove some old APIs!
Change-Id: I73ca23b0d5c7971a00dfa05357f9b630d9b6ebc8
2010-12-14 22:19:03 -08:00
Mike Lockwood
b92df0f669 Clean up USB notifications:
Add support for separate USB connected and configuration events

Include both USB connected/disconnected and configuration state
in USB_STATE Intent

Remove redundant USB_CONNECTED and USB_DISCONNECTED Intents
Now we just have the sticky USB_STATE broadcast

Move USB disconnnect rebouncing from Tethering to UsbService

Change-Id: Id13eb0c5d51152d2a538985d680ba1db7d2241dc
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-14 18:32:59 -08:00
Adam Cohen
026e121bc3 New stack visualization
Change-Id: I0c479f92a3682dfb917e00935365dd3e99456daf
2010-12-14 18:25:35 -08:00
Gilles Debunne
34961cc2e5 Reduced Overfling threshold after many different cefficient tries.
Change-Id: Ib655e73fc75a09c6379883871fabf90793a6cff5
2010-12-14 18:02:48 -08:00
Adam Powell
d7fe27c722 Merge "Fix bug 3274422 - Prevent pop-in of items in certain lists" 2010-12-14 18:01:36 -08:00
Vasu Nori
a738671790 Merge "bug:3264401 changes to support usage of new downloads dir in /data" 2010-12-14 17:57:41 -08:00
Dianne Hackborn
ad0b61ca67 Merge "Fix Dialog generating multiple onCancel()." 2010-12-14 17:51:44 -08:00
Dianne Hackborn
114405e0ea Fix Dialog generating multiple onCancel().
Issue #3169193: com.google.android.youtube: java.lang.NullPointerException
at com.google.android.youtube.async.UserAuthorizer$3.onCancel(UserAuthorizer.java:324)

A little protection against calling onCancel() after a dialog has been
dismissed.

Change-Id: I7a64c94703da012ce303308563e4a8ed3cb125d3
2010-12-14 17:49:14 -08:00
Dianne Hackborn
7ab7d83254 Merge "Work around issue #3241701: crash in ActivityThread.handleWindowVisibility" 2010-12-14 17:47:39 -08:00
Adam Powell
bdccc2d3db Fix bug 3274422 - Prevent pop-in of items in certain lists
Change-Id: Ia4f253b1cb49fbed175d87f8d85fae838a99a614
2010-12-14 17:34:27 -08:00
Patrick Dubroy
982b71bf47 Merge "Allocate bitmap backing buffers in the Java heap." 2010-12-14 16:56:07 -08:00
Patrick Dubroy
e4ac2d6b57 Allocate bitmap backing buffers in the Java heap.
Change-Id: I60f6ccff13357c1c518e9d56b02fe0171637edd1
2010-12-14 16:50:50 -08:00
Brad Fitzpatrick
4e920f70f3 Add MODE_MULTI_PROCESS flag to Context.getSharedPreferences()
Also, changes to make this testable with CTS:

-- special PENALTY_DEATH StrictMode fast path that doesn't use
   the Looper idling to "time" the violation.  Only used when
   death is the only violation,

-- make PENALTY_DEATH throw a RuntimeException instead of
   killing its process with a signal.  this means we can catch
   it in CTS tests, but it's also more consistent with
   PENALTY_NETWORK_DEATH in Honeycomb.

-- make FileUtils.getFileStatus() invoke StrictMode, which isn't
   (yet?) aware of I/O in native code.  so help it out.

CTS test for MODE_MULTI_PROCESS is in I6154edab

Change-Id: Icf93f9dfb0ece06b16781e4803dd2c17df3cf1b3
2010-12-14 16:27:21 -08:00
Amith Yamasani
536db9c599 Merge "Add a way to insert a parent bread crumb so that deep linked settings can navigate up." 2010-12-14 15:34:08 -08:00
Robert Greenwalt
091969af90 Merge "Fix some IpV4-only code." 2010-12-14 15:28:01 -08:00