13014 Commits

Author SHA1 Message Date
Dmitri Plotnikov
4839538503 Merge "Hiding the AsyncTaskLoader.waitForLoader method" into honeycomb 2011-01-18 11:01:35 -08:00
Derek Sollenberger
788c51852a Merge "Fix smart zoom for plugins that use OpenGL." into honeycomb 2011-01-18 10:38:34 -08:00
Dirk Dougherty
8d74f7f560 Merge "Doc change: fix busted link to DatePicker tutorial." into honeycomb 2011-01-18 10:16:31 -08:00
Ben Murdoch
e609241a76 Merge "Disable AutoFill in private browsing mode." into honeycomb 2011-01-18 10:07:01 -08:00
Derek Sollenberger
dd1173bc9b Fix smart zoom for plugins that use OpenGL.
bug: 3331323
Change-Id: I4f1d4e0ecdb75283fc781bf5afe579f43610506c
2011-01-18 13:02:07 -05:00
Ben Murdoch
4bd87d6e47 Disable AutoFill in private browsing mode.
Ensure that WebKit knows that AutoFill is disabled when private
browsing is on.

Bug: 3335257
Change-Id: I8c3e45175211e5cb00605c1dbf974e513c582d8e
2011-01-18 17:54:05 +00:00
Dmitri Plotnikov
4afde4fda3 Hiding the AsyncTaskLoader.waitForLoader method
I introduced this method a couple of weeks ago,
but then we had a chat with Dianne and she made
a good point that rather than having this behavior
on AsyncTaskLoader, we should have it on LoaderManager
and then it will cover all kinds of loaders,
not just the ones inheriting from AsyncTaskLoader.
She suggested that we postpone that work until
after Honeycomb.

Change-Id: I1939956296cddb678791ba652ab5f4a0dd45eea1
2011-01-18 09:41:29 -08:00
Gilles Debunne
aba62a5925 Merge "Added a touch up filter in text selection handles." into honeycomb 2011-01-18 08:33:42 -08:00
Cary Clark
b2601359ea add interface to return if (x/y) is a plugin
Use the nav cache to determine if a given
coordinate corresponds to a plugin.

Requires a companion change in external/webkit

bug:3331323
Change-Id: I07d7fdfd643768d600cd6ba81165fac8b553a77f
2011-01-18 11:22:38 -05:00
Kristian Monsen
0664c62c12 Merge "Motorola request to fix proxy" into honeycomb 2011-01-18 06:05:46 -08:00
Kristian Monsen
6f6b640950 Motorola request to fix proxy
Change-Id: I2beecc2bef5a21294cc5fab0f11d4026f8ad3c2d
2011-01-18 14:01:45 +00:00
Dirk Dougherty
9a143e6641 Doc change: fix busted link to DatePicker tutorial.
Change-Id: I957aa3bb4c0c91f195de99405cc8e1b5a5bc82f7
2011-01-17 20:09:46 -08:00
Adam Powell
0a753cd481 Merge "Fix bug 3357208 - List selector shows as dark black on first pressed state" into honeycomb 2011-01-17 18:54:13 -08:00
Adam Powell
e0fd2eb2f1 Fix bug 3357208 - List selector shows as dark black on first pressed state
Make sure AbsListView selector drawable state gets configured on touch.

Change-Id: Ic5863ee05517b426585f59aaf52ba75b72d8c020
2011-01-17 18:37:42 -08:00
Joe Onorato
ca29bb2840 Merge "Don't crash with non-standard bitmap types." into honeycomb 2011-01-17 17:25:02 -08:00
Joe Onorato
f01345e19d Don't crash with non-standard bitmap types.
Bug: 3299780
Change-Id: I435c3bedda22395db1b65dc9ff488bfea9069deb
2011-01-17 17:20:09 -08:00
Dianne Hackborn
17b9b81418 Remove old APIs.
Change-Id: If676e4e7886ad71c4959d4253db99639b49218b8
2011-01-17 17:16:02 -08:00
Gilles Debunne
aa8d73bfc3 Added a touch up filter in text selection handles.
This filters the touch up event, so that in case the handles'
position is altered when the finger is lifted up, this unwanted
movement is discarded.

Bug 3282095

Change-Id: Ibfe8f49d979091ba49139449ecc13f47050608d9
2011-01-17 16:39:36 -08:00
Dianne Hackborn
327fbd2c8f Fix a bunch of API review bugs.
3362464 API REVIEW: android.content potpourri
3362445 API REVIEW: Fragment transaction stuff
3362428 API REVIEW: Fragment stuff
3362418 API REVIEW: Loader stuff
3362414 API REVIEW: android.content.pm.ActivityInfo

Change-Id: I6475421a4735759b458acb67df4380cc6234f147
2011-01-17 16:23:42 -08:00
Vasu Nori
2fd90e92ee Merge "bug:3362394 better documentation for DefaultDatabaseErrorHandler class" into honeycomb 2011-01-17 15:37:09 -08:00
Vasu Nori
4caaf2aeca bug:3362394 better documentation for DefaultDatabaseErrorHandler class
Change-Id: I85a278183eda297f72a740c9d23efa4aca58d2d3
2011-01-17 15:35:28 -08:00
Vasu Nori
376fedf659 Merge "bug:3362635 add new public API to downloadmanager to get mxbytesovermobile" into honeycomb 2011-01-17 15:34:06 -08:00
Vasu Nori
0abbf809bf bug:3362635 add new public API to downloadmanager to get mxbytesovermobile
bug:3362635
Change-Id: I7380964c6098d5ca6396b17980f78457c23d1a87
2011-01-17 15:14:53 -08:00
Scott Main
662cc7a46a add javadoc for getView method
Change-Id: Ia8d9516c4017319f8bcaedb3e4c451c5c3825857
2011-01-17 15:02:07 -08:00
Romain Guy
a43cfd2940 Merge "Improve hardware layers rendering speed when setting a View's alpha." into honeycomb 2011-01-17 14:40:35 -08:00
Romain Guy
d6cd572df8 Improve hardware layers rendering speed when setting a View's alpha.
Change-Id: Ib1275677f531c60d9919978c5538c663fdb823b5
2011-01-17 14:42:41 -08:00
Irfan Sheriff
326feb8965 Merge "Pick an upstream interface with valid IP config" into honeycomb 2011-01-17 14:14:07 -08:00
Adam Cohen
181d2e3172 Adding instance check to RemoteViewsAdapter getViewAt
Change-Id: Ie99d5aeef6e963c89b62cfd435d1c5cbb1fb6bfa
2011-01-17 14:06:46 -08:00
Irfan Sheriff
29552095e1 Pick an upstream interface with valid IP config
As a work around for the issue of picking
the wrong interface, add a check for selecting
an upstream interface that has a valid IP configuration

Bug: 3362306
Change-Id: I01084517cff756c97660b2cfbfa8e9bf26673148
2011-01-17 13:50:48 -08:00
Chris Yerga
e2364b098f Merge "Fix content width calculation for Spinner control. The width of the dropdown was only taking into account the width of the items and not background padding." into honeycomb 2011-01-17 13:30:53 -08:00
Kenny Root
d6c54d9786 Merge "Revert "Add the {get,set}PackageObbPaths calls to API"" into honeycomb 2011-01-17 13:02:48 -08:00
Kenny Root
a1cbb94dbc Revert "Add the {get,set}PackageObbPaths calls to API"
This reverts commit 5d40fe9c6846ba765072e50ed1254293cb9195e4.

Change-Id: Ie41010c92fb860b19a12bcf63f6fe95ffa68da81
2011-01-17 13:00:47 -08:00
Andy Stadler
2c12c708bf Merge "Add internal plumbing to DPM for encryption" into honeycomb 2011-01-17 12:52:41 -08:00
Svetoslav Ganov
59cce94eb8 Merge "Catching some edge cases while flinging/scrolling in NumberPicker" into honeycomb 2011-01-17 12:52:18 -08:00
Andy Stadler
22dbfda976 Add internal plumbing to DPM for encryption
* Add code to persist per-admin setting
* Add hooks for OS-level tie-in (is supported, get / set status)
* Add 3rd API call to get OS status (irrespective of admin settings)
* Remove "REQUESTED" status, no longer relevant with 3rd API
* Fixed bug that impacted global proxy settings
* Update api/11.xml to match current.xml

Bug: 3346770
Change-Id: I56bdf9a7894f6ca4842402c7b82ddb3caf4b37b9
2011-01-17 12:47:31 -08:00
Svetoslav Ganov
6c742f1e95 Catching some edge cases while flinging/scrolling in NumberPicker
1. If the scroll is exactly divisible by the scroll item height
   the selector wheell is one off from the current value/text input.

Change-Id: I12721e85a99f6a5b51f5ad6f13c3836cb156c9a4
2011-01-17 12:46:21 -08:00
Dianne Hackborn
db7f38673c Merge "Start renaming FragmentTransaction.openTransaction() to beginTransaction()." into honeycomb 2011-01-17 12:33:50 -08:00
Dianne Hackborn
48e7b45869 Start renaming FragmentTransaction.openTransaction() to beginTransaction().
Change-Id: Ib4a6d824b33cca699b7b25159c491fb610d5f5da
2011-01-17 12:28:35 -08:00
Kenny Root
f09d63a52c Re-@hide some of the other StorageManager API
Some StorageManager API was accidentally unhidden during a bad merge.
Re-@hide the API to fix it.

Bug: 3362407
Change-Id: I5ad6925d3b6c18c33230127b1318c150d028a010
2011-01-17 12:10:48 -08:00
Kenny Root
d37d661669 Merge "Add OBB size to PackageStats" into honeycomb 2011-01-17 11:58:02 -08:00
Romain Guy
bee8ec2538 Merge "Prevent NPE when no indicator is specified. Bug #3362349" into honeycomb 2011-01-17 11:35:55 -08:00
Romain Guy
875862e3ec Prevent NPE when no indicator is specified.
Bug #3362349

Change-Id: Ie15ed9e31fdd4eb72a18471375d8937c50eb1802
2011-01-17 11:37:24 -08:00
Svetoslav Ganov
424300f3e4 Merge "Ensure that no callback is invoked while initializing DatePicker" into honeycomb 2011-01-17 11:32:29 -08:00
Amith Yamasani
a3aaad1f7b Merge "Add back legacy layout for preference framework for compatibility." into honeycomb 2011-01-17 11:27:40 -08:00
Kenny Root
bcd6c96e75 Add OBB size to PackageStats
Bug: 3356814
Change-Id: I4f871fb9fd0cb2f3177cc756631f95d928862571
2011-01-17 11:21:52 -08:00
Svetoslav Ganov
3d20c846e4 Ensure that no callback is invoked while initializing DatePicker
bug:3360821

1. While my previous change:I3baff68c has partially fixed this bug
   it was still possible for a callback to be invoked on init. If a
   callback was already regitsered and the init is called the
   callback is incorrectly notified.

Change-Id: I05c6cb78f4c7b7d2a00c52aef42c1698d9479be5
2011-01-17 11:04:18 -08:00
Jeff Hamilton
b01856da54 Merge "Delivering null cursor to loader callbacks." into honeycomb 2011-01-17 11:03:40 -08:00
Dmitri Plotnikov
fd119e986d Delivering null cursor to loader callbacks.
ContentProviders are allowed to return null and both
of our contact directories (Focus and Exchange) actually
do when they find no data to return.

The problem is that when LoaderManager receives a result
from a loader, it checks if the result is the same as
previously received.  That's fine, as long as the loader
always returns a different result.  Now consider a loader
that returns null when it cannot produce the result.
What we are seeing is that if the loader is rapidly restared
and returns null twice in a row, the null is never
delivered to the callbacks.


In the case of the reported bug, the scenario is this:

1. We look for "foo"
2. Data for "foo" comes from a directory and we display it
3. We hit backspace twice in rapid succession.  Each time
we hit backspace, the loader is restared, but since we do
this very fast, the second restart overrides the first.  So
far so good.
4. The directories are programmed to return null if the
query string is less than 3 characters long, so the loader
returns null twice.
5. Loader manager looks at the final result, compares it
to the previous result and since they are the same (both null)
concludes that it does not need to deliver either of them.
6. The UI attempts to show the stale data and blows up

Bug: 3352125
Change-Id: I3e5bc505faa03f72ebe5cb010377a740f5c7d5b6
2011-01-17 09:46:23 -08:00
Kenny Root
ec7c9ff0bb Hide USB mass storage APIs in StorageManager
They appear to have been unhidden in a bad merge from gingerbread.

Change-Id: Ice0fc865425d5d885af3c2e90a7ffeaa1d623b80
2011-01-17 09:15:36 -08:00
Chris Yerga
efd0811a31 Fix content width calculation for Spinner control.
The width of the dropdown was only taking into account
the width of the items and not background padding.

Change-Id: If27291c96191d4ac1f3e9200c6f6f585a19008c3
2011-01-17 00:30:08 -08:00