13430 Commits

Author SHA1 Message Date
Jim Miller
1108306b36 Merge "Fix 3148496: Update LockScreen assets & layouts" 2010-12-15 14:55:04 -08:00
Alon Albert
744e310f66 Clear all pending backoffs on a reconnect event
Change-Id: I509e2c6c9d95922d196ac805eded523b674ad805
2010-12-15 14:28:52 -08:00
Jim Miller
936236c01d Merge "Fix 3201849: Tweak WaveView animation; update resource." 2010-12-15 14:12:21 -08:00
Adam Cohen
c89d59ce18 Merge "Fix in StackView layout" 2010-12-15 13:18:33 -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
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
Jim Miller
0a0753808e Fix 3148496: Update LockScreen assets & layouts
This adds new assets for LockScreen on large devices and
fixes a layout bug in LockPatternView where the size was
not being computed correctly.

Change-Id: Ibaa0543502914010261389ef6e524654f4f87dc4
2010-12-15 09:28:56 -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
Amith Yamasani
c9ecb73ccd Add a way to insert a parent bread crumb so that deep linked settings can navigate up.
Bug: 3236568

This adds a way to insert a title as well as get a callback when that title is clicked.
It is not really on the backstack and clicks must be handled via the listener interface.
2010-12-14 15:17:32 -08:00
Gilles Debunne
96e6b8bfc8 Remove line height attribute from TextView.
This attribute was introduced in HC and is only partially supported. It should
actually also be used by the layout to be meaningful.

Bug 3223987

Change-Id: Idb47be319a236326f7624fd865466356c19bc342
2010-12-14 15:11:49 -08:00
Vasu Nori
f83e6e4b7a bug:3264401 changes to support usage of new downloads dir in /data
Change-Id: I209a624523f727d47a4a8f758c13df5d4eac614f
2010-12-14 15:10:32 -08:00
Jeff Brown
644b75edb3 Merge "Improve documentation on Vibrator.vibrate." 2010-12-14 15:02:52 -08:00
Adam Powell
185097f56c Merge "Fix bug 3210201 - Popup window wrong size/position when IME hidden" 2010-12-14 14:51:13 -08:00
Robert Greenwalt
04808c2940 Fix some IpV4-only code.
InterfaceConfiguration changed to use InetAddress and stop with the string->int->string
conversions.

bug:2542681
Change-Id: I11c4954547333c43bb840fa0469ddde57b0d043b
2010-12-14 14:41:26 -08:00
Robert Greenwalt
7c25cd15bb Merge "DHCP core classes, defining data, behavior, and state transitions for the DHCP protocol. The DHCP client and DHCP server classes are not included in this commit: still working out some integration issues with ethernet & wifi services" 2010-12-14 14:40:49 -08:00
Jeff Brown
2e976df644 Expose split touch API on PopupWindow.
Already exposed the new window flags and layout parameters,
just forgot to make this API visible at the same time.

Bug: 3049580
Change-Id: If8dc3568eb2806fa21881c31b9f879d6045ca890
2010-12-14 13:56:58 -08:00
Gilles Debunne
ebd747ffad Merge "Heterogeneous comment for convertView in getView documentation" 2010-12-14 13:32:23 -08:00
Jeff Brown
d10bfe185c Improve documentation on Vibrator.vibrate.
Bug: 3135537
Change-Id: I961e32990d754dc6b5f86ffea8515685f8ade40f
2010-12-14 13:23:10 -08:00
Gilles Debunne
e7018262d1 Merge "Removed no longer used longPressCallback in TextView" 2010-12-14 11:59:01 -08:00
Gilles Debunne
31d4894653 Removed no longer used longPressCallback in TextView
Change-Id: Iadac5579764ef14c2ec7a677c686a396cedc31fa
2010-12-14 11:53:52 -08:00
Adam Powell
aa0b92ce2b Fix bug 3210201 - Popup window wrong size/position when IME hidden
Fixes a case where ViewRoot does not recompute its size properly.
This caused various offsets to get out of sync and the window would
draw improperly.

Change-Id: Id0abb37bbf27b60de2dca4077c21040ec84ef163
2010-12-14 11:48:45 -08:00
Gilles Debunne
e1aaf9d76e Heterogeneous comment for convertView in getView documentation
Change-Id: I28d6b93600d840e9b3e8bf74d0f14d93c4be4fd9
2010-12-14 11:48:15 -08:00
Alon Albert
300ed2cda6 Merge "Do not increase backoff before it expires" 2010-12-14 11:32:45 -08:00
Dianne Hackborn
bfddc0fe77 Work around issue #3241701: crash in ActivityThread.handleWindowVisibility
Change-Id: I9d5df3605f3d216e651e0a294409f82dea3968ad
2010-12-14 11:28:01 -08:00