23952 Commits

Author SHA1 Message Date
Chia-chi Yeh
44dabe3da3 Merge "Revert "Unhide APIs for user space VPN."" 2011-08-01 14:09:58 -07:00
Chia-chi Yeh
e1538f0558 Revert "Unhide APIs for user space VPN."
This reverts commit 3c2529c717cda3df321c1d0d6abe23ac1f298ac9.

Change-Id: I37d4ea6c1079d337ede7ac567d88414a41fc1e11
2011-08-01 14:06:58 -07:00
Romain Guy
a7edc40faa Merge "Plug memory leak in EditText." 2011-08-01 14:02:54 -07:00
Romain Guy
e5ea4403ce Plug memory leak in EditText.
Change-Id: I0b42c23ceeaa958d02255945c35ff6807c177114
2011-08-01 14:01:37 -07:00
Bjorn Bringert
dbe55b722c Merge "Fix exception when a focused item is detached." 2011-08-01 13:39:30 -07:00
Dianne Hackborn
c98c3597ab Merge "Hide permissions that are not available to apps." 2011-08-01 12:23:47 -07:00
Jeff Brown
07c6cc7b7b Merge "Tweak hover for better accessibility and compatibility. Bug: 5087943" 2011-08-01 12:14:24 -07:00
Dianne Hackborn
24a12104fd Hide permissions that are not available to apps.
Change-Id: I5f3bc72114b780fffe218a5600bfd011ede029d3
2011-08-01 11:25:53 -07:00
Matthew Xie
569980c349 Merge "Change setDevicePropertyNative to no block." 2011-08-01 10:20:30 -07:00
Luca Zanolin
7702a59344 Merge "Sort the suggestions based based on the length of the text they are attached too." 2011-08-01 09:51:29 -07:00
Mike Lockwood
6031b5de96 Merge "MediaScanner: Move genre table management to MediaProvider" 2011-08-01 09:31:57 -07:00
Mark Brophy
1ea6889136 Fix exception when a focused item is detached.
When a ListView has itemsCanFocus set, and scrolling moves the currently
focused item off the display, its focus is cleared. This is checked by
calling getDistanceToView().

However, it's possible that the view will have been recycled.  If so, it
will have been detached from the parent by calling
ViewGroup.detachViewFromParent.  Since this doesn't clear the view's
focus, we'll still try to call getDistanceFromView(), causing an
IllegalArgumentException since the view is not a descendant of the
ListView anymore.

Check whether the view is still a descendant before calling
getDistanceToView(). If it's not, we also need to clear the focus.

Bug: 4556022
Change-Id: Iebee56032223b70d714e2ec3bb7a19093ab5f81c
2011-08-01 16:32:03 +01:00
Justin Ho
9a6c7383b3 Merge "Update list_ states Bug: 5076695" 2011-08-01 07:27:11 -07:00
Luca Zanolin
e3f89c08f2 Sort the suggestions based based on the length of the text they are attached too.
When the suggestions are displayed, the shortest one will be at the top of the list, as they are the most relevant one.

Bug: 5006130

Change-Id: Id3ac3accce5198a6a58a0c3028ee5f77957ceac6
2011-08-01 09:57:25 +01:00
Mike Lockwood
e5d0495d52 MediaScanner: Move genre table management to MediaProvider
Fixes problems introduced with bulk insert support

Bug: 5092877

Change-Id: If3c0c9054d5effe0a1d7a75e85635b41ba1591f5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-31 17:06:01 -04:00
Justin Ho
e8f1cbae44 Merge "Updated backgrounds Bug: 5076695" 2011-07-29 16:55:51 -07:00
Justin Ho
d75f09f7f9 Merge "Removing unnecessary textfield_active assets Bug: 5094669" 2011-07-29 15:56:15 -07:00
Justin Ho
6f19253fcb Update list_ states
Bug: 5076695

Change-Id: I42bea1e7960db4f1e686382479cd8c8627caccec
2011-07-29 15:51:06 -07:00
Justin Ho
dc922ceb13 Updated backgrounds
Bug: 5076695

Change-Id: Ifc1ee2a9c03b4620df1d27f65faf4c48826b14b6
2011-07-29 15:49:20 -07:00
Romain Guy
1a7b1158c5 Trim HardwareRenderer memory more frequently.
Change-Id: I92e72ce5da324f9ffcfdf7a54d8b368c2531799c
2011-07-29 15:35:58 -07:00
Matthew Xie
3fd36737b3 Change setDevicePropertyNative to no block.
Change setDevicePropertyNative to use async dbus call to bluez instead of
blocking call. The old call was dbus_connection_send_with_reply_and_block.
It is replaced by dbus_connection_send_with_reply.

Change-Id: I1a772b33b54c8aad71a6f4d86dcd289354d8155b
2011-07-29 15:08:41 -07:00
Justin Ho
33c5d0842c Removing unnecessary textfield_active assets
Bug: 5094669

Change-Id: I239563cc75d62c1bffa2713e646531dd547752d2
2011-07-29 14:20:25 -07:00
Svetoslav Ganov
0ef92056b7 Merge "Improving accessibility feedback for two state widgets." 2011-07-29 14:06:44 -07:00
Kristian Monsen
abecca9c60 Merge "Part of fix for bug 4997380: Some error types unknown to SslError" 2011-07-29 12:35:45 -07:00
Derek Sollenberger
ecfeebebff Merge "Add a runtime switch between Raster and Ganesh rendering modes." 2011-07-29 12:34:32 -07:00
Kristian Monsen
0d6c6a73c6 Part of fix for bug 4997380: Some error types unknown to SslError
Use the new SslError chromium error codes parser.

Change-Id: I0b5584bd3f3e042600caebe72f4e41989318cd6a
2011-07-29 20:10:21 +01:00
Gilles Debunne
9ba79560bf Merge "New interaction model for suggestions" 2011-07-29 11:47:12 -07:00
Amith Yamasani
44df62c441 Merge "Don't submit a query if it's whitespace only." 2011-07-29 11:28:37 -07:00
Christopher Tate
e0fe39387a Merge "Require the current backup pw in all backup/restore operations" 2011-07-29 11:20:45 -07:00
Svetoslav Ganov
7650259a59 Improving accessibility feedback for two state widgets.
1. Added population of sensible text for the state of the
   two state controls such as CheckBox, Switch, etc. This
   is important since if they are in a layout manager which
   fires an accessibility event there should be a description
   of the widget.

bug:5092552

Change-Id: Ie3ca955653563496b84db379ae23a23fe88089a8
2011-07-29 10:45:05 -07:00
Dianne Hackborn
bb96bf6e47 Merge "Various work on out of memory managment." 2011-07-29 10:43:26 -07:00
Derek Sollenberger
f4fd53b381 Merge "Fix NinePatch decoder when the target is smaller than the source." 2011-07-29 10:41:12 -07:00
Nick Pelly
5ff1c1591f Merge "Workaround for bug 5082381 (EALREADY on ACL collision)." 2011-07-29 09:44:30 -07:00
Robert Greenwalt
be591d736e am 86574d66: am 0d8acea9: Make copy-constructor make deep copy.
* commit '86574d66dacc09c9b5a0a0ab2623ec01704b6fc8':
  Make copy-constructor make deep copy.
2011-07-29 09:24:38 -07:00
Robert Greenwalt
86574d66da am 0d8acea9: Make copy-constructor make deep copy.
* commit '0d8acea9bb452d1fdbb3d811041f7bdb1b0ef8a3':
  Make copy-constructor make deep copy.
2011-07-29 09:20:51 -07:00
Derek Sollenberger
c4c458c678 Fix NinePatch decoder when the target is smaller than the source.
If the target is smaller on a given axis than the source then we
just draw a downscaled version of the NinePatch.  If we use the
current path and the source has transparency then areas of the
NinePatch overlap and are blended together resulting in visual
inconsistancy.

bug: 5041053
Change-Id: I0fcc6fb5c214b188a164acf0651aa4ab2f35946d
2011-07-29 10:34:47 -04:00
Daniel Sandler
53f2531ba7 Merge "The fullest of fullscreen modes." 2011-07-29 05:45:55 -07:00
Daniel Sandler
1bde86bd1b Merge "Correct android:dimen/status_bar_icon_size for tablets." 2011-07-29 04:52:01 -07:00
satok
6d9a14c083 Merge "Fix issues in TextServicesManagerService" 2011-07-29 03:29:46 -07:00
satok
df5659d3d3 Fix issues in TextServicesManagerService
Change-Id: I48c81226d824e8aad42e01e87fcf9a5b466d2321
2011-07-29 19:09:14 +09:00
Dianne Hackborn
c68c913d35 Various work on out of memory managment.
- Improve how we handle processes that have shown UI, to take care
  of more cases where we want to push them into the background LRU
  list.
- New trim memory level for when an application that has done UI
  is no longer visible to the user.
- Add APIs to get new trim memory callback.
- Add a host of new bind flags to tweak how the system will adjust
  the OOM level of the target process.

Change-Id: I23ba354112f411a9f8773a67426b4dff85fa2439
2011-07-29 02:06:46 -07:00
Daniel Sandler
3815706c4e Correct android:dimen/status_bar_icon_size for tablets.
Bug: 5086130
Change-Id: I32e7ec93b87cdde20e1a250e139d2ec0b90baac2
2011-07-29 00:56:57 -04:00
Jean Chalard
3970f6833d Merge "Fix a bug where a provider could be never released." 2011-07-28 19:36:32 -07:00
Romain Guy
c564042a3e Merge "Don't create hw layers when there's no hw context. Bug #5093805" 2011-07-28 19:25:29 -07:00
Romain Guy
ea83503e86 Don't create hw layers when there's no hw context.
Bug #5093805

Change-Id: Ia58b3381c83b9a200e80020e5c1b9c337ad6c35c
2011-07-28 19:24:37 -07:00
Nick Pelly
fbbea2e1bf Workaround for bug 5082381 (EALREADY on ACL collision).
If connect() fails with EALREADY, then retry.

Unfortunately we also need to switch to a new FD. This is currently
safe, but its a little fragile to changes in the code (especially
if we ever expose the fd to applications) so it would be great to
fix this issue properly in the kernel sometime and revert this
commit.

Change-Id: I12fb6b7f2b8ca40f425f66b504754048c9460329
2011-07-28 18:11:34 -07:00
satok
f7be31ee10 Merge "Handle the existing binds to spell checkers correctly." 2011-07-28 18:09:59 -07:00
Jim Miller
ae5a9d4a92 Merge "Fix 5044158: Initial pass: add music transport controls to LockScreen" 2011-07-28 18:04:21 -07:00
Christopher Tate
728a1c4d5e Require the current backup pw in all backup/restore operations
Specifically, we now also require the current password to confirm any
restore operation.

Bug 4901637

Change-Id: I39ecce7837f70cd05778cb7e0e6390ad8f6fe3f3
2011-07-28 18:04:07 -07:00
satok
6be6d7548f Handle the existing binds to spell checkers correctly.
Change-Id: I32efce9f8c09b5a829b0431e8c444fc54b03b440
2011-07-29 09:57:07 +09:00