20194 Commits

Author SHA1 Message Date
Kristian Monsen
e4dcf0948a Merge "Part of fix for bug 3489551 Browser doesn't send cookies for HTML5 video in incognito" 2011-03-01 13:12:24 -08:00
Derek Sollenberger
3545c72ce1 Merge "Don't update webkit at every stage of a zoom animation." 2011-03-01 12:58:31 -08:00
Derek Sollenberger
ac382cf581 Don't update webkit at every stage of a zoom animation.
This CL defers updating webkit until a zoom animation has completed.

bug: 3451126
Change-Id: I75a90f307a3493363811ba67ec4e55bfec9c0702
2011-03-01 15:50:27 -05:00
Fred Quintana
dfa28c3449 Merge "Fix a deadlock in AccountManagerService cause by different paths of code getting the mCacheLock and DB locks in different orders." 2011-03-01 12:30:06 -08:00
Kristian Monsen
469aebbbd9 Part of fix for bug 3489551 Browser doesn't send cookies for HTML5 video in incognito
Adding private mode parameter for some cookie operations.

Depends on this change in webkit:
https://android-git.corp.google.com/g/#change,99051

Change-Id: I304de625632c3d659bf0d7a6b6a6e2bec985ecb6
2011-03-01 20:25:36 +00:00
Mike Lockwood
04e1a9620f Merge "Move USB framework support from android.hardware to android.hardware.usb package" 2011-03-01 11:58:22 -08:00
Irfan Sheriff
2f6409686f Merge "Using AsyncChannel for wifi connectivity" 2011-03-01 11:32:24 -08:00
Fred Quintana
f9f240e3ad Fix a deadlock in AccountManagerService cause by different
paths of code getting the mCacheLock and DB locks in different
orders.

The philosophy I followed for this was to ensure that the
DatabaseHelper is only ever accessed from within a
synchronized(mCacheLock) block. I also renamed a bunch of
methods to make it easier to know if a given method should
be called from within this synchronized block.

Bug: 3404506
Change-Id: Ia48f95e77b77647d0717f70f1d8364da3719cc13
2011-03-01 11:23:19 -08:00
Leon Scroggins
6e0e0ec980 Fix password field drawing.
Bug:3499916

Change-Id: Idb10e9780e6a0cfecd6228de0fbfd4a1035ab61e
2011-03-01 14:17:30 -05:00
Eric Fischer
9d30f5bce1 Merge "Import revised translations." 2011-03-01 11:11:24 -08:00
Eric Fischer
5db857209f Import revised translations.
Change-Id: Ibd5a50501b157fccde300eb6822a7627c91e6640
2011-03-01 10:59:51 -08:00
Gilles Debunne
0a1b818b8c AbsListView notifies scroll events to the ViewTreeObserver.
ViewTreeObserver OnScrollChangedListener will then get notified.

The scroll values are not specified, since they are passed to the
base View.onScrollChanged method that simply sets the flags.

No need to throw these from a Runnable (in case this happens during
a relayout) since the listeners will be notified later from ViewRoot.draw().

Calling View.onScrollChanged in invokeOnItemScrollListener for normal scroll and
in onOverScrolled to handle mScroller animation.

Change-Id: Ib41434e5cd82e5a45ca6653db576746e89ef072d
2011-03-01 10:58:22 -08:00
Gilles Debunne
5bf7658cb8 Merge "Removed ViewTreeObserver null checks" 2011-03-01 10:50:00 -08:00
Gilles Debunne
0357e5b2fe Merge "Scrollable tabs are correctly displayed." 2011-03-01 10:49:23 -08:00
Adam Powell
857447f1f9 Merge "Fix a bug where the lazy-initialized ActionBar object was being too lazy." 2011-03-01 10:46:42 -08:00
Adam Powell
763cbb134f Fix a bug where the lazy-initialized ActionBar object was being too lazy.
Change-Id: I80dc06deffd1df8cc8ae96fd878d66a101a17086
2011-03-01 10:45:34 -08:00
Eric Rowe
99cf1e0ca3 Merge "Add test cases for AudioManager SCO methods." 2011-03-01 10:31:26 -08:00
Kenny Root
c39bb4aaa7 Switch to returnCode for IPackageDeleteObserver
Before the IPackageDeleteObserver only knew whether the deletion
succeeded or failed, but not the reason why.

Bug: 2520191
Change-Id: I1f0d7c04f06c539660b6e17e7e133defb0f61b5b
2011-03-01 09:27:57 -08:00
Mike Lockwood
c4308f01c9 Move USB framework support from android.hardware to android.hardware.usb package
Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 08:07:20 -08:00
Chet Haase
108500ab22 Merge "Cleanup of docs for ViewPropertyAnimator class" 2011-03-01 07:41:42 -08:00
Chet Haase
d666cf320d Cleanup of docs for ViewPropertyAnimator class
Fixed the copyright date, spec'd auto-canceling behavior of various methods,
fixed various typos.

Change-Id: I0db74787275890557a3ad8d617b69daeef2413ee
2011-03-01 07:38:16 -08:00
Adam Powell
6ade7c2624 Merge "Fix bug 3497341 - take list padding into account when drawing ExpandableListView indicators" 2011-02-28 22:01:31 -08:00
Adam Powell
3e5e6aced9 Fix bug 3497341 - take list padding into account when drawing
ExpandableListView indicators

Change-Id: Idf4d4f28f495a453b871ac7dbe7059f38812ff87
2011-02-28 21:57:42 -08:00
Christopher Tate
ce8ad5a912 Merge "Make sure to properly default the screen size during wallpaper restore" 2011-02-28 19:37:06 -08:00
Christopher Tate
7f765cf588 Make sure to properly default the screen size during wallpaper restore
The wallpaper service claims a desired width/height of (-1,-1) during
initial setup, so look to the default display's metrics if necessary.

Change-Id: I341f12fb7b0b9d6b7761c277f23fc68fa5355256
2011-02-28 19:22:13 -08:00
Gilles Debunne
52a5e65883 Scrollable tabs are correctly displayed.
Bug 3495561

Change-Id: I1fe4962ddbe2435c335c76769d37f57f4b30a3b3
2011-02-28 18:41:46 -08:00
Dianne Hackborn
a6cbf50c76 Merge "Add ParcelFileDescriptor APIs to get raw fd." 2011-02-28 18:36:48 -08:00
Adam Powell
f37fccd9d8 Merge "Change behavior of multitouch in scrolling views." 2011-02-28 18:16:14 -08:00
Adam Powell
9bc30d3132 Change behavior of multitouch in scrolling views.
New pointers touching the screen always become the active pointer.

Still to do: allow flings until another pointer moves enough to stop
it. Currently flings will be immediately stopped by the other pointers
still contacting the screen.

Change-Id: Ic1c7bf98dcf40252593cec0ab1f0d524aaeed8e4
2011-02-28 18:15:23 -08:00
Fred Quintana
082aa9cdc4 Merge "Make the AccountManagerService clear old grants when the package that the grants refer to is no longer installed." 2011-02-28 18:09:58 -08:00
Eric Rowe
835d8ee61e Add test cases for AudioManager SCO methods.
Add test cases for AudioManager.startBluetoothSco() and
AudioManager.stopBluetoothSco()

Bug: http://b/3292864
Change-Id: I743c8d732270262fbaaff79a53d43cedcd5de528
2011-02-28 18:07:51 -08:00
Dianne Hackborn
c9119f5034 Add ParcelFileDescriptor APIs to get raw fd.
Change-Id: I66ba72ffffd27237e60c9411453eef950ae62705
2011-02-28 18:03:26 -08:00
Jeff Brown
bb57948049 Merge "Fix inverted scrolling condition in lists." 2011-02-28 17:50:33 -08:00
Mike Lockwood
c93f67c2b7 Merge "Add platform features for USB host and USB accessory support." 2011-02-28 17:05:12 -08:00
Mike Lockwood
fae640b174 Merge "UsbManager: Enhancements for managing USB devices and accessories" 2011-02-28 17:04:23 -08:00
Mike Lockwood
f4ca247158 Add platform features for USB host and USB accessory support.
Also removed config_hasUsbHostSupport framework resource, which is now obsolete.

Change-Id: I6f18cc1c4f68085de8b8363e1b5edff79aff404f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-28 17:00:46 -08:00
Mike Lockwood
02eb8746de UsbManager: Enhancements for managing USB devices and accessories
When a USB device or accessory is connected, the UsbService now asks the
user which application to associate with the device or accessory.
Applications interested in devices or accessories must specify the
devices they work with via meta-data attached to their manifest.
Permission to communicate with the device is assigned when the user chooses
the activity to use for the device.
The user has the option of clicking the "always use this application" checkbox
to make the assignment automatic in the future.
The user may later clear this preference and revoke permission for an application
to have permission to communicate with the device by clicking the "Clear defaults"
button for the activity in the Manage Applications panel in Settings.

Added class UsbResolveActivity (a subclass or ResolveActivity for choosing
an activity for a USB device or accessory)

Added UsbDeviceManager, which manages the mapping between USB devices/accessories
and applications, including default applications for devices and accessories,
and manages application permissions.

Add interface to allow Settings to clear device and accessory
preferences and permissions for an application.

Remove obsolete ACCESS_USB permission.

Add new signatureOrSystem MANAGE_USB permission to allow administrating
preferences and permissions.

Moved UsbService.java to a "usb" subdirectory, along with new classes
UsbResolveActivity and UsbDeviceManager.

Change-Id: I92554381e9779e68ce380daaee4e1401fb875703
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-28 17:00:45 -08:00
Ben Komalo
a8049111ff Merge "Remove a stale line in a JavaDoc." 2011-02-28 16:48:40 -08:00
Fred Quintana
c1a4e5dc41 Make the AccountManagerService clear old grants when the package
that the grants refer to is no longer installed.

Bug: 3425856
Change-Id: I6ec057415c8f35be91c8434ff10e6cf5c1fc47bb
2011-02-28 16:36:14 -08:00
Fred Quintana
6a7dc33ca5 Merge "remove the code that clears the passwords when the sim is replaced with a different one." 2011-02-28 16:25:36 -08:00
Irfan Sheriff
ebe606fccd Using AsyncChannel for wifi connectivity
Change-Id: Ieee5a3a1a739238d8a6659493684f1be0cbea691
2011-02-28 15:54:51 -08:00
Adam Cohen
6c2193a7e2 Merge "Small change to AppWidgetProviderInfo public field name and docs" 2011-02-28 15:24:56 -08:00
Elliott Hughes
20ccb06a7c Merge "Fix Parcel.writeNative to not ignore 'offset'." 2011-02-28 15:11:00 -08:00
Elliott Hughes
a28b83ee04 Fix Parcel.writeNative to not ignore 'offset'.
Also switch to using libcore's array bounds checking. (This variant had no
detail message and was missing the length check.)

Bug: http://code.google.com/p/android/issues/detail?id=15075
Change-Id: Icfc045bd59403b59f02d95c8514abf881d3996e5
2011-02-28 14:55:29 -08:00
Adam Cohen
9611f2ea6c Small change to AppWidgetProviderInfo public field name and docs
Change-Id: Ia799cfc1824ccee1f7fd041ae8ecaa1a0395c3f6
2011-02-28 14:53:09 -08:00
Jeff Brown
275d8238da Fix inverted scrolling condition in lists.
Change-Id: Iaf0de1f7cad565b59e8347cb3634cb620d8016b0
2011-02-28 14:50:02 -08:00
Gilles Debunne
059d5affa1 Merge "Text selection mode is stopped when View is recycled in ListView" 2011-02-28 14:24:19 -08:00
Gilles Debunne
ccf857cc4c Merge "OnScrollListener fix in AbsListView" 2011-02-28 14:23:50 -08:00
Gilles Debunne
49279ff77d Merge "AIOOB exception fix in TabWidget" 2011-02-28 14:23:35 -08:00
Adam Powell
9b1aa5e80c Merge "Fix some bugs in the new ScaleGestureDetector logic." 2011-02-28 13:39:38 -08:00