39816 Commits

Author SHA1 Message Date
Jeff Brown
fb75738ee2 Never drag scroll views with no children.
Fixes a regression from Froyo.  Previously, when a scroll view
had no children, its onTouchEvent would return because the scroll
view would only start dragging if the user touched one of its children.
In Gingerbread, the user can drag from anywhere within the scroll
view, not just by touching a child.  However, it makes no sense
to drag a scroll view that has no children so an empty scroll view
should just ignore touches like any other empty view group would.

This change fixes applications that for some reason or other happen
to have empty scroll views in strange places.

Bug: 3246230
Change-Id: Iada6e886e8363e6778f42fc4861de228512d8bed
2011-01-18 18:42:33 -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
Jeff Brown
f4368c959f Merge "Filter virtual keys after touches." into honeycomb 2011-01-18 15:26:15 -08:00
Eric Fischer
2c0d22e72c Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-01-18 15:13:06 -08:00
Jeff Brown
fe50892af3 Filter virtual keys after touches.
Adds a new virtualKeyQuietTimeMillis configuration resource that sets
the duration for which virtual keys will be dropped after recent touches
on screen.  The default value is 0; it is intended to be overridden
per device using a resource overlay.

This change is designed to help in two cases:

1. Swipes from touchscreen into virtual key area.
2. Accidental taps in virtual key area while using on-screen keyboard.

Bug: 3089163
Change-Id: Ib912d4f8a4df9966a39cd537d3ec7c24afab7225
2011-01-18 15:10:45 -08:00
James Dong
1418de7eff Merge "Fix the sluggish preview during timelapse video recording because software encoder is used." into honeycomb 2011-01-18 14:43:02 -08:00
Costin Manolache
b8b671df47 Merge "Add back NEW_TASK flag." into honeycomb 2011-01-18 14:37:24 -08:00
Eric Fischer
c6399ea957 Import revised translations. DO NOT MERGE
Change-Id: I4805367889be5c8a7a03591f11fea732f3b9edb7
2011-01-18 14:31:36 -08:00
James Dong
183fa14b47 Fix the sluggish preview during timelapse video recording because software encoder is used.
bug - 3361771

Change-Id: Ic5344e9eabe7f1b82910b65b4260e4ad8dc51c32
2011-01-18 14:28:37 -08:00
Stephen Hines
0e5f4e549b Merge "Validate that version pragma is correct." into honeycomb 2011-01-18 14:26:24 -08:00
Eric Laurent
74ff70d2f2 Merge "Fix typo" into honeycomb 2011-01-18 14:25:17 -08:00
Glenn Kasten
ed6eae420f Fix typo
Change-Id: I73e7c5cf13c5ed82398006af61308665eb1d3ad0
2011-01-18 14:13:28 -08:00
Stephen Hines
5dd60be169 Validate that version pragma is correct.
Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
2011-01-18 14:10:44 -08:00
Kenny Root
11ebdd6a79 Merge "Erase OBB files when removing packages" into honeycomb 2011-01-18 14:03:15 -08:00
Romain Guy
553889a678 Merge "Fix 9patches, again... Bug #3365243" into honeycomb 2011-01-18 14:00:28 -08:00
Romain Guy
eb6a4a17a0 Fix 9patches, again...
Bug #3365243

Change-Id: Id45a1f1fd5e099b1d691e6064401d3de1b0c5c20
2011-01-18 14:02:16 -08:00
Kenny Root
300c13a481 Erase OBB files when removing packages
OBB files on USB storage or SD card should be removed when an
application is removed.

Bug: 3356804
Change-Id: Ifbbf043368b125fcd47fd74e5cd2e5167a8deb00
2011-01-18 13:55:42 -08:00
Mike Lockwood
5f31aa30cd Merge "MTP: Set modification date for abstract playlists" into honeycomb 2011-01-18 13:29:55 -08:00
Mike Lockwood
8ed67acf38 MTP: Set modification date for abstract playlists
BUG: 3224269

Change-Id: I96ae8e6d2f7e28860e9217ceb911331b333e1391
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 13:27:25 -08:00
Brad Fitzpatrick
3ab249cc32 Merge "Fixing memory leak in PreferenceScreen." into honeycomb 2011-01-18 13:26:56 -08:00
James Dong
0a3dbf6f69 Merge "Fix the build break in git_master-without-vendor" into honeycomb 2011-01-18 13:26:14 -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
Mike Lockwood
26c1ab2e58 Merge "MTP: Strip ".pla" file extension from name field for WMP playlists" into honeycomb 2011-01-18 13:14:58 -08:00
Mike Lockwood
8cc6eb1e4c MTP: Strip ".pla" file extension from name field for WMP playlists
BUG: 3309324

Change-Id: Ia136f94406496f971819f4f805f742f2a6829007
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 13:13:05 -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
Romain Guy
2577db1ec1 Add support for Paint::setTextSkewX in OpenGLRenderer.
Bug #3360888

Change-Id: I42e81a1f10bf7b9ae1c63ca8add1878fd59a1e8a
2011-01-18 13:02:38 -08:00
Romain Guy
713440d2ef Merge "Add support for Paint::setTextSkewX in OpenGLRenderer. Bug #3360888" into honeycomb 2011-01-18 13:00:41 -08:00
Jack Palevich
b54407f2bb Merge "Add support for preserving EGL contexts when pausing / resuming." into honeycomb 2011-01-18 13:00:27 -08:00
Dharmaray Kundargi
a1a55bbe94 Fix the build break in git_master-without-vendor
Change-Id: I8fff5ee69958212a80711e0d86fb86514c8797f4
2011-01-18 12:40:56 -08:00
Andreas Huber
529fc53d3f Merge "Implement parsing of vbv buffering info in RTSP." into honeycomb 2011-01-18 11:52:02 -08:00
John Wang
8d48c3d21f Merge "Enable AUTO_TIME_ZONE settings." into honeycomb 2011-01-18 11:43:53 -08:00
Brad Fitzpatrick
758035757f StrictMode class instance limit interface.
Change-Id: Ic5eea539586e5d4965d83364bf9f623d1d89f2b1
2011-01-18 11:38:37 -08:00
Bryan Mawhinney
3a4d547c58 Merge "Don't report 100% buffered when the stream ends prematurely." into honeycomb 2011-01-18 11:30:30 -08:00
Romain Guy
807daf7df6 Add support for skew()
Change-Id: Ia3a9a867f74fd78b61f75179e3788fdc2f0cacd0
2011-01-18 11:19:19 -08:00
Andreas Huber
77034e6393 Implement parsing of vbv buffering info in RTSP.
Change-Id: I7d871cafda2c4c65670a40ad9ab4f24317f8568a
related-to-bug: 3351915
2011-01-18 11:19:13 -08:00
Romain Guy
89108d5c31 Merge "Add support for skew()" into honeycomb 2011-01-18 11:17:20 -08:00
Dianne Hackborn
3aa959b9ce Merge "Fix issue #3362666 Activities launched from ongoing notifications don't animate" into honeycomb 2011-01-18 11:14:46 -08:00
Mike Lockwood
0de274b34c Merge "MTP: Fix problems with modification dates for folders and non-media files" into honeycomb 2011-01-18 11:13:01 -08:00
Bryan Mawhinney
e26275bdac Don't report 100% buffered when the stream ends prematurely.
Change-Id: Ia4e80d02f28104427a3309e3d5b155faa5702757
2011-01-18 19:12:21 +00:00
John Wang
759aca9d20 Enable AUTO_TIME_ZONE settings.
There are separate settings for AUTO_TIME and AUTO_TIME_ZONE.

Modify *ServiceStateTracker to monitor AUTO_TIME and AUTO_TIME_ZONE changes
separately and reset NITZ time and timezone accordingly.

bug: 3304255
Change-Id: Ie430f7b4a256618bea87672b3628d1223ea6e36a
2011-01-18 11:11:06 -08:00
John Reck
d00207ff87 Merge "WebStorage public API change" into honeycomb 2011-01-18 11:10:26 -08:00
David Turner
6195eb134b Merge "Prevent Dropbox from crashing system server pre-boot." into honeycomb 2011-01-18 11:09:03 -08:00
Dianne Hackborn
08121bca5b Fix issue #3362666 Activities launched from ongoing notifications don't animate
The phone-oriented code for turning off animations when the screen is entirely
covered by the status bar was not appropriate for the tablet.

Change-Id: Ica3e0db989f16b9187eacd6ecf4ac3d17661dd6d
2011-01-18 11:08:40 -08:00
Mike Lockwood
7a0bd17bce MTP: Fix problems with modification dates for folders and non-media files
Also removed an unnecessary parameter to MtpDatabase.endSendobject()

BUG: 3352142

Change-Id: I6fd812dcba4814956bc8bc1cbd6bd5c868197790
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 11:07:11 -08:00
Dmitri Plotnikov
4839538503 Merge "Hiding the AsyncTaskLoader.waitForLoader method" into honeycomb 2011-01-18 11:01:35 -08:00
Brad Fitzpatrick
34165c6967 Prevent Dropbox from crashing system server pre-boot.
Bug: 3362748
Change-Id: I3f94f22798eb4a6ef14dd9a418fd3c054637e16b
2011-01-18 10:52:42 -08:00
Derek Sollenberger
788c51852a Merge "Fix smart zoom for plugins that use OpenGL." into honeycomb 2011-01-18 10:38:34 -08:00