Merge commit 'fa30c0eed3386af37be0f0df7aeaa886a8e6095d'
* commit 'fa30c0eed3386af37be0f0df7aeaa886a8e6095d':
Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id.
* changes:
Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id. Remove the else clause and always get the list of requested permissions first before adding the permissions obtained via the shared user id. Also change an if condition and comments for better readability
Merge commit '10d273bb69016f7eb056d7ea1f3a929a5f5a3314'
* commit '10d273bb69016f7eb056d7ea1f3a929a5f5a3314':
Check if the ownerView is still attached to window in
Merge commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978'
* commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978':
Modify the base gestures API to use streams instead of files. Adds new wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer.
Only update the popup window when it is shown. This avoids throwing an NPE in PopupWindow.
A PopupWindow is only aware of its content view after being shown.
Merge commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607'
* commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607':
Fixes#1884152. This change improves how the opaque property is handled with respect to dividers.
If the list is opaque and its background is not, then we want to fill a solid rect where the dividers should be when they are skipped for non-selectable items. When the list is opaque and the background is also opaque, there is no need to draw something in lieu of the dividers since the background will do it for us.
Merge commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1'
* commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1':
Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
Remove the else clause and always get the list of requested permissions first before adding the permissions obtained via
the shared user id.
Also change an if condition and comments for better readability
Merge commit '8ae3f6190244156bc6e750680654057bd7816309'
* commit '8ae3f6190244156bc6e750680654057bd7816309':
Fix another crash in Gestures, this one caused by the data file
having the wrong version. I made the loader print a message to
the log for this, and made the calling code disable gestures
for the listview instead of crashing.
Merge commit '82392e84b9bcf618d1c41730ec14fb8dab841990'
* commit '82392e84b9bcf618d1c41730ec14fb8dab841990':
Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.
Merge commit 'd9a874a4cb8e82ae64c1698bd71ced8d87bbc5cd'
* commit 'd9a874a4cb8e82ae64c1698bd71ced8d87bbc5cd':
Fixes NPE in ListViews with non-selectable items. This was caused by a weird initialization issue in ListView and AbsListView: a private final field instanciated in the declaration in ListView was used in AbsListView<init> via an overriden method and that field was somehow null at this time. This fix moves the instanciation at a later point.
Merge commit '4e1afc1a569d05cc6a1ee213c65ffb49513600ca'
* commit '4e1afc1a569d05cc6a1ee213c65ffb49513600ca':
Fixes#1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null.
Merge commit 'd1874747c281e3277980fe7318f9007643a25f60'
* commit 'd1874747c281e3277980fe7318f9007643a25f60':
Fixes external http://code.google.com/p/android/issues/detail?id=2732. ExpandableListView is wrongly assuming that the saved state if of the correct type. A similar bug fix was made in TextView.onRestoreInstanceState() a while ago. This fix simply ensures that the state received is of the right type.
Merge commit '4174e2682f4eb6ea35c84e35810312967ea7e233'
* commit '4174e2682f4eb6ea35c84e35810312967ea7e233':
Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
Merge commit 'eba1ffb1468ce348bcd55a2d200728d5ac3b1eb3'
* commit 'eba1ffb1468ce348bcd55a2d200728d5ac3b1eb3':
TextView was not setting the callback on its compound drawables, thus preventing them from refreshing the view when updating their internal state. This would for instance prevent animated drawables from actually animating. Quite infuriating.
Merge commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a'
* commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a':
Temporarily suppress flaky test LocationManagerProximityTest until test harness support can be rolled out.
Fix build breakage
Revise the ImageButton class description to include information
Record statistics about whether HTTP connections are reused.
Merge commit 'b3c6addfc17be2a52133026148f3928ab97c83cb'
* commit 'b3c6addfc17be2a52133026148f3928ab97c83cb':
Fixes#1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not.
Merge commit '14ad07f604ecd08436680a046363d37952c278f6'
* commit '14ad07f604ecd08436680a046363d37952c278f6':
Fixes#1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
* changes:
Fixes#1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
Merge commit '9ea923174c2daffd9b6a1cd630018d3fdfe91f62'
* commit '9ea923174c2daffd9b6a1cd630018d3fdfe91f62':
Rearrange some code so it makes more sense. Thanks, findbugs.