Commit Graph

13041 Commits

Author SHA1 Message Date
Romain Guy
3cd030a4fe Merge "Don't pass a null View to OnListItemClickListener. Bug #3365153" into honeycomb 2011-01-18 20:27:22 -08:00
Romain Guy
7890fe2da4 Don't pass a null View to OnListItemClickListener.
Bug #3365153

Change-Id: I1328a554408bf16ec592ae1a747e57a5fb9305e3
2011-01-18 20:24:18 -08:00
Romain Guy
2a83f001fd Recreate the EGL surface when ViewRoot's surface changes.
Bug #3306150

Change-Id: Ifbf0ab9deca7a34eff7d844ea7276d12d7284788
2011-01-18 18:28:21 -08:00
Romain Guy
064f6ad392 Merge "Recreate the EGL surface when ViewRoot's surface changes. Bug #3306150" into honeycomb 2011-01-18 18:26:22 -08:00
Dianne Hackborn
e641327052 Merge "Just a little 'ol activity manager permission change." into honeycomb 2011-01-18 17:49:05 -08:00
Dianne Hackborn
661b6cfb2b Merge "Okay, new plan for dialogs." into honeycomb 2011-01-18 17:48:22 -08:00
Dianne Hackborn
ef57575887 Okay, new plan for dialogs.
Don't dismiss by default when tapping outside, even for AlertDialog.

If AlertDialog doesn't have any buttons, tapping outside will dismiss it.

Applications can make their own dialogs (or activities looking like
dialogs) can use the existing and new APIs to control this behavior
themselves so that it does the right thing.

Change-Id: I02bfb9161e169de0033200211b3a7ec80080bd83
2011-01-18 17:35:17 -08:00
Dianne Hackborn
6c2c5fc993 Just a little 'ol activity manager permission change.
We no longer enforce permissions for applications that are accessing
their own components.  This allows an application to require a permission
on one of its components that it does not itself have.  This is useful
for example with the new advanced widgets, which require a system-only
permission on the implementing service to ensure the app's data stays
private but it is nice to allow the application to still touch its own
widget service.

Change-Id: I5d61930a083816919545870039ad191314ed48c6
2011-01-18 17:02:33 -08:00
Christopher Tate
17ed60c3d2 API CHANGE: add a no-View ctor for DragShadowBuilder
Cf conversation with the API council.  Also expand the javadoc
a bit.

Change-Id: I9d4edb1042e00492b3db5c6bb7c7d9648581efad
2011-01-18 16:07:06 -08:00
Romain Guy
745a529249 Merge "Smoother pinch-zoom in Browser." into honeycomb 2011-01-18 15:55:31 -08:00
John Reck
c098c1d348 Merge "Create db path if it doesn't exit" into honeycomb 2011-01-18 15:53:33 -08:00
Romain Guy
4f066784ec Smoother pinch-zoom in Browser.
Change-Id: Ie5a403b76ab25483a980324cd7b31976359fa796
2011-01-18 15:43:46 -08:00
John Reck
798378ee6c Create db path if it doesn't exit
Bug: 3241808
 Make sure the directory the caller is trying to open the icon db
 in actually exists and create it if it doesn't.

Change-Id: Ie5e4a09210e9430edc318846a551542119969053
2011-01-18 15:42:49 -08:00
Dianne Hackborn
36c84403ec Merge "Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog" into honeycomb 2011-01-18 15:31:21 -08:00
Dianne Hackborn
cfaf8878de Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog
Change-Id: Idc2fe5a86c61e8f94fe9d902a0087a05f6f7918e
2011-01-18 15:28:41 -08:00
Costin Manolache
b8b671df47 Merge "Add back NEW_TASK flag." into honeycomb 2011-01-18 14:37:24 -08:00
Brad Fitzpatrick
3ab249cc32 Merge "Fixing memory leak in PreferenceScreen." into honeycomb 2011-01-18 13:26:56 -08:00
Mathias Jeppsson
1560003d4a Fixing memory leak in PreferenceScreen.
Every time the PreferenceScreen is displayed a new ListView is
created and bound to the adapter. As the same adapter is used during
the lifetime of PreferenceScreen and the listviews never gets
unbound, the adapter will contain a list of unused views. The old view
should be unbound from adapter when we create a new view.

Change-Id: I13e2d0dc79c8ff79b58efa650653e3f84c6e53c5
2011-01-18 13:20:34 -08:00
Kenny Root
241fc72b45 Merge "Don't cache return of getService in Environment" into honeycomb 2011-01-18 13:12:55 -08:00
Brad Fitzpatrick
b4f655d591 Merge "StrictMode class instance limit interface." into honeycomb 2011-01-18 13:11:33 -08:00
Kenny Root
b2278dc185 Don't cache return of getService in Environment
There is already a cache of all non-null return values for calls to
getService(), so don't bother caching it in Environment. This caused
some problems when Environment was called too early in the boot process
and getService() returned null.

Change-Id: I66739d01dab7e422f660d26b370ecce110dcc808
2011-01-18 13:08:06 -08:00
Brad Fitzpatrick
758035757f StrictMode class instance limit interface.
Change-Id: Ic5eea539586e5d4965d83364bf9f623d1d89f2b1
2011-01-18 11:38:37 -08:00
Romain Guy
807daf7df6 Add support for skew()
Change-Id: Ia3a9a867f74fd78b61f75179e3788fdc2f0cacd0
2011-01-18 11:19:19 -08:00
Romain Guy
89108d5c31 Merge "Add support for skew()" into honeycomb 2011-01-18 11:17:20 -08:00
John Reck
d00207ff87 Merge "WebStorage public API change" into honeycomb 2011-01-18 11:10:26 -08:00
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
Costin Manolache
9ec17366c1 Add back NEW_TASK flag.
b/2510486 suggests we remove it, but this breaks services who can't call the intent without the flag. A different solution is needed to notify when the activity is done.

Change-Id: I0b32ead69cf816e105899fdd74e99cc1e8bf5ce3
2011-01-17 15:12:57 -08:00
Scott Main
662cc7a46a add javadoc for getView method
Change-Id: Ia8d9516c4017319f8bcaedb3e4c451c5c3825857
2011-01-17 15:02:07 -08:00