OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Use PV_PLAYER to handle RTSP streaming" into froyo
James Dong [Wed, 14 Apr 2010 16:59:33 +0000 (09:59 -0700)]
Merge "Use PV_PLAYER to handle RTSP streaming" into froyo

14 years agoUpdate the datause icons.
Robert Greenwalt [Tue, 13 Apr 2010 22:17:14 +0000 (15:17 -0700)]
Update the datause icons.

bug:2576057
Change-Id: Idf57d59aecb9bcff635dafa1e77d90a8737a0c08

14 years agoMerge "Perist Throttle data across reboots" into froyo
Robert Greenwalt [Wed, 14 Apr 2010 16:07:25 +0000 (09:07 -0700)]
Merge "Perist Throttle data across reboots" into froyo

14 years agoUse PV_PLAYER to handle RTSP streaming
James Dong [Wed, 14 Apr 2010 04:33:26 +0000 (21:33 -0700)]
Use PV_PLAYER to handle RTSP streaming

bug - 2594865

Change-Id: Ice5b89b1d53bbc4da033892fe545bdf51ac7267f

14 years agoMerge "Ensure the selection does not change in setTextAndKeepSelection." into froyo
Leon Scroggins [Wed, 14 Apr 2010 13:42:20 +0000 (06:42 -0700)]
Merge "Ensure the selection does not change in setTextAndKeepSelection." into froyo

14 years agoMerge "Fix for 2585858, load invalid urls." into froyo
Kristian Monsen [Wed, 14 Apr 2010 09:22:18 +0000 (02:22 -0700)]
Merge "Fix for 2585858, load invalid urls." into froyo

14 years agoMerge "Fix (again) for bug 2558156, update cache encoding correctly" into froyo
Kristian Monsen [Wed, 14 Apr 2010 09:22:05 +0000 (02:22 -0700)]
Merge "Fix (again) for bug 2558156, update cache encoding correctly" into froyo

14 years agoMerge "Fix issue #2555171: Switching to app immediately after unmounting..." into...
Dianne Hackborn [Wed, 14 Apr 2010 01:07:27 +0000 (18:07 -0700)]
Merge "Fix issue #2555171: Switching to app immediately after unmounting..." into froyo

14 years agoFramework change for #2583442: Navigation dies when night mode changes
Dianne Hackborn [Tue, 13 Apr 2010 06:11:38 +0000 (23:11 -0700)]
Framework change for #2583442: Navigation dies when night mode changes

The window manager doesn't retain its keep screen on lock while
in the process of destroying and creating new activity windows during
a config change.  Now it does.

Unfortunately, this doesn't help maps, since it doesn't use our
lovely KEEP_SCREEN_ON flag. :p

Change-Id: Ida4bc0fcfe132cdff2bd4eeb7ba0ce9731504d14

14 years agoMerge "Fix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard..." into...
Dianne Hackborn [Wed, 14 Apr 2010 00:57:23 +0000 (17:57 -0700)]
Merge "Fix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard..." into froyo

14 years agoFix issue #2555171: Switching to app immediately after unmounting...
Dianne Hackborn [Tue, 13 Apr 2010 19:49:14 +0000 (12:49 -0700)]
Fix issue #2555171: Switching to app immediately after unmounting...

...SD card causes reboot.

Add option to not include temporarily unavailable recent tasks,
for the recent tasks UI to not display them.

Change-Id: I1495ca217b4292fd56f537459b44c0624262c292

14 years agoMerge "If we defer processing the touch events, pass the original view coordinate...
Grace Kloba [Wed, 14 Apr 2010 00:20:29 +0000 (17:20 -0700)]
Merge "If we defer processing the touch events, pass the original view coordinate with TouchEventData and use them when we reprocess the events. We can't depend on contentToView() to convert the doc point to the view point. When we originally convert the view to doc, the scroll position in UI doesn't change. When we convert the doc back to view, we are chasing a moving target. That is why we saw bigger delta." into froyo

14 years agoPerist Throttle data across reboots
Robert Greenwalt [Sat, 10 Apr 2010 00:27:26 +0000 (17:27 -0700)]
Perist Throttle data across reboots

Never got SharedPreferences working for this system service.  Didn't really need it anyway.
Using a straight up file now.

bug:2576057
Change-Id: Idad926e8242a85e22718c25f3f6c03e5749badac

14 years agoIf we defer processing the touch events, pass the
Grace Kloba [Tue, 13 Apr 2010 23:27:41 +0000 (16:27 -0700)]
If we defer processing the touch events, pass the
original view coordinate with TouchEventData and use
them when we reprocess the events. We can't depend
on contentToView() to convert the doc point to the
view point. When we originally convert the view to
doc, the scroll position in UI doesn't change. When
we convert the doc back to view, we are chasing a
moving target. That is why we saw bigger delta.

Fix  http://b/issue?id=2577274

14 years agoAdd build config values for data use defaults
Robert Greenwalt [Tue, 13 Apr 2010 02:20:55 +0000 (19:20 -0700)]
Add build config values for data use defaults

Don't use hard coded defaults - use build configs instead.

Iface is now ONLY set by config so gservices doesn't need to.

bug:2576057
Change-Id: I8f9e3bc51af3b1cdf8bb4290a43197d9c01e2a14

14 years agoMerge "Snif more 3GPP file types according to http://www.ftyps.com/3gpp.html" into...
James Dong [Tue, 13 Apr 2010 22:34:20 +0000 (15:34 -0700)]
Merge "Snif more 3GPP file types according to ftyps.com/3gpp.html" into froyo

14 years agoMerge "Fix crashes related to unmounting when app on sdcard has an active notificatio...
Suchi Amalapurapu [Tue, 13 Apr 2010 22:30:07 +0000 (15:30 -0700)]
Merge "Fix crashes related to unmounting when app on sdcard has an active notification in status bar. When unmounting sdcard, all the secure containers have to be unmounted first before invoking the MountService call back. We send a broadcast about disabled packages. Force a gc to clean up any stale asset references  and then unmount the containers before invoking the MountService call back." into froyo

14 years agoMerge "Fix Throttle Notification intents" into froyo
Robert Greenwalt [Tue, 13 Apr 2010 22:22:00 +0000 (15:22 -0700)]
Merge "Fix Throttle Notification intents" into froyo

14 years agoSnif more 3GPP file types according to http://www.ftyps.com/3gpp.html
James Dong [Tue, 13 Apr 2010 22:06:41 +0000 (15:06 -0700)]
Snif more 3GPP file types according to ftyps.com/3gpp.html

bug - 2575956

Change-Id: Iaa79e74d3b0585397a7e833ec45472710fc52fa6

14 years agoMerge "SDK: last of the backup/restore docs content" into froyo
Christopher Tate [Tue, 13 Apr 2010 21:21:48 +0000 (14:21 -0700)]
Merge "SDK: last of the backup/restore docs content" into froyo

14 years agoMerge "Better diagnostics in the stagefright commandline tool, support for playing...
Andreas Huber [Tue, 13 Apr 2010 19:16:08 +0000 (12:16 -0700)]
Merge "Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a"." into froyo

14 years agoMerge "Don't set encoder component role while we query decoders" into froyo
James Dong [Tue, 13 Apr 2010 19:11:57 +0000 (12:11 -0700)]
Merge "Don't set encoder component role while we query decoders" into froyo

14 years agoEnsure the selection does not change in setTextAndKeepSelection.
Leon Scroggins [Tue, 13 Apr 2010 14:33:41 +0000 (10:33 -0400)]
Ensure the selection does not change in setTextAndKeepSelection.

Bug: 2589778
Change-Id: I72752797003216fdd12cebffbdf4cd9ffbf523e1

14 years agoBetter diagnostics in the stagefright commandline tool, support for playing sine...
Andreas Huber [Tue, 13 Apr 2010 16:58:39 +0000 (09:58 -0700)]
Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a".

related-to-bug: 2553359
Change-Id: Ic49eb89feb62474d9513bc21571e0e8fe3a15e0b

14 years agoFix a case introduced by https://android-git.corp.google.com/g/#change,47640
Grace Kloba [Tue, 13 Apr 2010 18:31:15 +0000 (11:31 -0700)]
Fix a case introduced by https://android-git.corp.google.com/g/#change,47640

We skipped a call to WebKit at the end of the zoom
animation in the last CL.

Fix http://b/issue?id=2578820

14 years agoFix crashes related to unmounting when app on sdcard has an active notification
Suchi Amalapurapu [Thu, 8 Apr 2010 21:37:05 +0000 (14:37 -0700)]
Fix crashes related to unmounting when app on sdcard has an active notification
in status bar.
When unmounting sdcard, all the secure containers have to be unmounted first
before invoking the MountService call back. We send a broadcast
about disabled packages. Force a gc to clean up any stale asset references
 and then unmount the containers before invoking the MountService call back.

Change-Id: I831da1ae54aeec89de3601b94a4a2fae5dc7e495

14 years agoDon't set encoder component role while we query decoders
James Dong [Tue, 13 Apr 2010 17:56:59 +0000 (10:56 -0700)]
Don't set encoder component role while we query decoders

bug - 2558515

Change-Id: I29683507d234d963994c782c07508034ea807739

14 years agoMerge "Fix an upgrade bug in SettingsProvider." into froyo
Amith Yamasani [Tue, 13 Apr 2010 17:05:27 +0000 (10:05 -0700)]
Merge "Fix an upgrade bug in SettingsProvider." into froyo

14 years agoMerge "Fix bug 2578813 Delay pausing music and routing audio for car docks" into...
Jean-Michel Trivi [Tue, 13 Apr 2010 16:53:35 +0000 (09:53 -0700)]
Merge "Fix bug 2578813 Delay pausing music and routing audio for car docks" into froyo

14 years agoFix for 2581725. Keep the last frame after resume(), and delete it
Gloria Wang [Tue, 13 Apr 2010 00:13:06 +0000 (17:13 -0700)]
Fix for 2581725. Keep the last frame after resume(), and delete it
in the next suspend() or reuse it if no new frame is available.

Change-Id: I84286030eaae9061077d6ccb485b7dd53ef05341

14 years agoFix bug 2578813 Delay pausing music and routing audio for car docks
Jean-Michel Trivi [Tue, 13 Apr 2010 01:44:10 +0000 (18:44 -0700)]
Fix bug 2578813 Delay pausing music and routing audio for car docks

Moved broadcast of ACTION_AUDIO_BECOMING_NOISY from BluetoothA2dpService
to AudioService.
Broadcast ACTION_AUDIO_BECOMING_NOISY when disconnecting an A2DP
device.
Disconnect from A2DP docks with a delay to handle transient
disconnections.
Cancel delayed A2DP disconnections when connecting to a dock as this
can be a reconnection after a transient disconnection.

Change-Id: I1ee9e99f3ffa20727af38a4c4c8711942894a696

14 years agoHonor the "Never vibrate" setting for incoming calls.
Daniel Sandler [Mon, 12 Apr 2010 17:23:57 +0000 (13:23 -0400)]
Honor the "Never vibrate" setting for incoming calls.

Bug: 2579295
Change-Id: Ia4207492c5dfa2c39d27372c4892b60121b6d9e8

14 years agoFix for 2585858, load invalid urls.
Kristian Monsen [Mon, 12 Apr 2010 15:42:39 +0000 (16:42 +0100)]
Fix for 2585858, load invalid urls.

The browser currently does not try to load invalid urls, that can be a problem. Now we only check if the host is correctly encoded.

Change-Id: Ie7380c59d4faab68a2f957e7f1ba8347e15e45a1

14 years agoMerge "Hide e-call button in layout." into froyo
Daniel Sandler [Tue, 13 Apr 2010 13:00:02 +0000 (06:00 -0700)]
Merge "Hide e-call button in layout." into froyo

14 years agoFix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard...
Dianne Hackborn [Tue, 13 Apr 2010 04:36:49 +0000 (21:36 -0700)]
Fix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard...

...go directly to unlock screen

Fix a problem where, when we are moving windows due to a configuration
change, our wait to have the windows get redrawn would also
inadvertently make us think their surfaces should be hidden, leading
to nasty things like the lock screen thinking it should be shown
again (and thus forcing the orientation back to portrait).

Change-Id: I79057cfbc93ff59fd3558da997d4f73796e6aabe

14 years agoSDK: last of the backup/restore docs content
Christopher Tate [Tue, 13 Apr 2010 01:24:05 +0000 (18:24 -0700)]
SDK: last of the backup/restore docs content

There is probably still some editing and cleanup to do, but this takes care
of the last of the "need this documented by the time we ship!" material.

Bug #2465360

Change-Id: Ic4ce9e5a07c79aa2b584a18012a2e8fe199c19fd

14 years agoMerge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since...
Andreas Huber [Tue, 13 Apr 2010 00:15:32 +0000 (17:15 -0700)]
Merge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks." into froyo

14 years agoMerge "SDK: more backup/restore documentation work" into froyo
Christopher Tate [Mon, 12 Apr 2010 23:14:53 +0000 (16:14 -0700)]
Merge "SDK: more backup/restore documentation work" into froyo

14 years agoMerge "docs: fix bug 2590728" into froyo
Scott Main [Mon, 12 Apr 2010 23:09:28 +0000 (16:09 -0700)]
Merge "docs: fix bug 2590728" into froyo

14 years agoDistinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don...
Andreas Huber [Mon, 12 Apr 2010 23:05:57 +0000 (16:05 -0700)]
Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks.

Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af
related-to-bug: 2587341

14 years agodocs: fix bug 2590728
Scott Main [Mon, 12 Apr 2010 23:05:49 +0000 (16:05 -0700)]
docs: fix bug 2590728

Change-Id: I997c4fd3b3fbe33f479c3fe15b8164370c0a18af

14 years agoFix an upgrade bug in SettingsProvider.
Amith Yamasani [Mon, 12 Apr 2010 22:49:12 +0000 (15:49 -0700)]
Fix an upgrade bug in SettingsProvider.

Bug: 2569112

Wrong usage of local method.

Change-Id: I9d7c68baa7cf8dd2b7e4345555c1edc374de94e6

14 years agoSDK: more backup/restore documentation work
Christopher Tate [Thu, 8 Apr 2010 19:54:23 +0000 (12:54 -0700)]
SDK: more backup/restore documentation work

Still not complete, but here's a lot more of the necessary documentation.
Submitting a checkpoint seems prudent.

Bug #2465360

Change-Id: Ifff60d57e4b24cee21f3a34f5f50e290d377c386

14 years agoMerge "API CHANGE: remove obsolete constants and hide some methods" into froyo
Christopher Tate [Mon, 12 Apr 2010 22:13:35 +0000 (15:13 -0700)]
Merge "API CHANGE: remove obsolete constants and hide some methods" into froyo

14 years agoFix Throttle Notification intents
Robert Greenwalt [Mon, 12 Apr 2010 21:56:31 +0000 (14:56 -0700)]
Fix Throttle Notification intents

Now goes to the correct settings page.

bug:2576057
Change-Id: I21df0e53f7f56ae9bf71f983a3aed200c5ac217d

14 years agoMerge "Fix a race condition in TimedEventQueue, an event may be cancelled while we...
Andreas Huber [Mon, 12 Apr 2010 21:16:34 +0000 (14:16 -0700)]
Merge "Fix a race condition in TimedEventQueue, an event may be cancelled while we're waiting for its scheduled time to come in which case we'd be removing it from the queue twice." into froyo

14 years agoAPI CHANGE: remove obsolete constants and hide some methods
Christopher Tate [Fri, 9 Apr 2010 20:05:16 +0000 (13:05 -0700)]
API CHANGE: remove obsolete constants and hide some methods

This change removes some unused constants from BackupDataOutput
and hides a few methods that do not actually need to be exposed.

Change-Id: I47a9a107a5b58f4d53b5a2fcf9b73a765b1c5dd8

14 years agoFix a race condition in TimedEventQueue, an event may be cancelled while we're waitin...
Andreas Huber [Mon, 12 Apr 2010 20:10:20 +0000 (13:10 -0700)]
Fix a race condition in TimedEventQueue, an event may be cancelled while we're waiting for its scheduled time to come in which case we'd be removing it from the queue twice.

Change-Id: I4e42e318fd5373d1f352f54027d4bf823126266d
related-to-bug: 2585276

14 years agoMerge "Fix typos in name of density-independent pixels" into froyo
Kenny Root [Mon, 12 Apr 2010 19:19:08 +0000 (12:19 -0700)]
Merge "Fix typos in name of density-independent pixels" into froyo

14 years agoMerge "Fix monkey bug 2586534 java.util.ConcurrentModificationException Unlike the...
Jean-Michel Trivi [Mon, 12 Apr 2010 19:05:08 +0000 (12:05 -0700)]
Merge "Fix monkey bug 2586534 java.util.ConcurrentModificationException Unlike the other audio focus and media button stack handling methods, abandonAudioFocus() and unregisterAudioFocusClient() were not synchronized around their focus stack. This CL corrects this." into froyo

14 years agoAdd a bulk request method for bookmark icons.
Patrick Scott [Fri, 9 Apr 2010 16:42:03 +0000 (12:42 -0400)]
Add a bulk request method for bookmark icons.

Rather than dispatch a message for every url in the db, send a message to the
WebCoreThread to handle the query and iteration.  Update the documentation for
requestAllIcons.

Bug: 2581894
Change-Id: I8af4f87570465dff3839db4ac492883e8805b007

14 years agoMerge "Fix a case where the aac hardware decoder is in a transition state and refused...
Andreas Huber [Mon, 12 Apr 2010 18:02:27 +0000 (11:02 -0700)]
Merge "Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request." into froyo

14 years agoFix a case where the aac hardware decoder is in a transition state and refused a...
Andreas Huber [Mon, 12 Apr 2010 17:20:12 +0000 (10:20 -0700)]
Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request.

Change-Id: I4cabd18709c29db0a2763a01cc86525ba0b0aeb7
related-to-bug: 2575976

14 years agoMerge "Ignore corrupt aac audio frames and substitute silence." into froyo
Andreas Huber [Mon, 12 Apr 2010 17:11:32 +0000 (10:11 -0700)]
Merge "Ignore corrupt aac audio frames and substitute silence." into froyo

14 years agoIgnore corrupt aac audio frames and substitute silence.
Andreas Huber [Mon, 12 Apr 2010 16:57:05 +0000 (09:57 -0700)]
Ignore corrupt aac audio frames and substitute silence.

Change-Id: I544f98a5c00d912061db7921fc4518435209b168
related-to-bug: 2575976

14 years agoStart sending out buffering updates earlier (after preparation has completed) instead...
Andreas Huber [Mon, 12 Apr 2010 16:41:12 +0000 (09:41 -0700)]
Start sending out buffering updates earlier (after preparation has completed) instead of only after playback has started.

Change-Id: Ieaa90cc9b54bd56963aa5f4daced2ba243801acf
related-to-bug: 2585913

14 years agoDo not check mWebTextView's focus state to determine editing mode.
Leon Scroggins [Fri, 9 Apr 2010 18:54:46 +0000 (14:54 -0400)]
Do not check mWebTextView's focus state to determine editing mode.

Fix for bug 2568400.

Change-Id: I7e285388484bbab3aef9b6f4bb190e001266ce53

14 years agoFix (again) for bug 2558156, update cache encoding correctly
Kristian Monsen [Mon, 12 Apr 2010 11:07:30 +0000 (12:07 +0100)]
Fix (again) for bug 2558156, update cache encoding correctly

My fault, the last fix did not fix the issue completly. Now setting the listener so the cache item can be found when the encoding is to be set by the background worker.

Change-Id: Iea514ada9b4f52760033daee66aa29cdceda1c9e

14 years agoFix typos in name of density-independent pixels
Kenny Root [Sat, 10 Apr 2010 05:45:06 +0000 (22:45 -0700)]
Fix typos in name of density-independent pixels

Some places referred to "dip" as "device-independent pixels" but it
should be "density-independent pixels." Some publications are starting
to refer to this incorrectly.

Bug: 2586742
Change-Id: I030ef45a5ff61622c95133dcb7f2c82c7df652f0

14 years agoFix monkey bug 2586534 java.util.ConcurrentModificationException
Jean-Michel Trivi [Sat, 10 Apr 2010 02:27:58 +0000 (19:27 -0700)]
Fix monkey bug 2586534 java.util.ConcurrentModificationException
Unlike the other audio focus and media button stack handling
methods, abandonAudioFocus() and unregisterAudioFocusClient() were
not synchronized around their focus stack. This CL corrects this.

Change-Id: I5ada574e4e163fa95da9dad2fefe610b48303320

14 years agoAdd SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.
Wu-cheng Li [Mon, 29 Mar 2010 09:21:28 +0000 (17:21 +0800)]
Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.

bug:2544367
Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867

14 years agoMerge "cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96 docs: rewri...
Scott Main [Sat, 10 Apr 2010 00:03:55 +0000 (17:03 -0700)]
Merge "cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96 docs: rewrite resources documentation" into froyo

14 years agoMerge "Fix issue #2581524: Car home icon should always go to car home" into froyo
Dianne Hackborn [Fri, 9 Apr 2010 23:52:41 +0000 (16:52 -0700)]
Merge "Fix issue #2581524: Car home icon should always go to car home" into froyo

14 years agoFix issue #2581524: Car home icon should always go to car home
Dianne Hackborn [Fri, 9 Apr 2010 20:14:48 +0000 (13:14 -0700)]
Fix issue #2581524: Car home icon should always go to car home

Rework how switching between modes work so the caller can tell us
whether they want to go to home.  (So car home launcher can now
tell us they always want to go home.)

Change-Id: Id4a8129027d6d162b4bae6f983911f1f4bf2578f

14 years agoMerge "Add warning magic to be a bit more reasonable." into froyo
Robert Greenwalt [Fri, 9 Apr 2010 23:47:10 +0000 (16:47 -0700)]
Merge "Add warning magic to be a bit more reasonable." into froyo

14 years agoMerge "Remove the checkStremingServer checking as it is unstable and introduce the...
Yu Shan Emily Lau [Fri, 9 Apr 2010 23:41:37 +0000 (16:41 -0700)]
Merge "Remove the checkStremingServer checking as it is unstable and introduce the flakiness." into froyo

14 years agoMerge "Fix regression introduced when fixing focus issue with ScrollView. Bug #258164...
Romain Guy [Fri, 9 Apr 2010 23:08:17 +0000 (16:08 -0700)]
Merge "Fix regression introduced when fixing focus issue with ScrollView. Bug #2581646" into froyo

14 years agoAdd warning magic to be a bit more reasonable.
Robert Greenwalt [Fri, 9 Apr 2010 19:31:46 +0000 (12:31 -0700)]
Add warning magic to be a bit more reasonable.

Currently warns if you exceed more than 25% and 2*100%*timeUsed/(timeUsed+totalTime)

The formula means that imagining you've got half of the remaining time that you really have,
we will warn you if you would exceed the quota given your rate so far.  It's generous during the
early to mid-life and converges back to the limit as your timeUsed approaches totalTime.

bug:2576057
Change-Id: Id189de5b026f927ef478fd212d61d9e4ab5239e6

14 years agoMerge "Fix a FATAL ClassCastException in DataConnection.java" into froyo
Wink Saville [Fri, 9 Apr 2010 22:39:33 +0000 (15:39 -0700)]
Merge "Fix a FATAL ClassCastException in DataConnection.java" into froyo

14 years agoFix regression introduced when fixing focus issue with ScrollView.
Romain Guy [Fri, 9 Apr 2010 22:39:00 +0000 (15:39 -0700)]
Fix regression introduced when fixing focus issue with ScrollView.
Bug #2581646

The correct fix is to make ScrollView ignore the BACK key instead of consuming it.

Change-Id: I5c029a5c60ae8e7791391f63672c44b5c96fec71

14 years agoMerge "bug #2542580: add the appropriate mdpi asset for chat icon." into froyo
Wei Huang [Fri, 9 Apr 2010 22:34:46 +0000 (15:34 -0700)]
Merge "bug #2542580: add the appropriate mdpi asset for chat icon." into froyo

14 years agobug #2542580: add the appropriate mdpi asset for chat icon.
Wei Huang [Fri, 9 Apr 2010 22:27:10 +0000 (15:27 -0700)]
bug #2542580: add the appropriate mdpi asset for chat icon.

Change-Id: I474eb5b8fe83bbc7f92005de651444447c8624e7

14 years agoMerge "Move the public method HttpDateTime.parse() into AndroidHttpClient." into...
Jesse Wilson [Fri, 9 Apr 2010 21:01:07 +0000 (14:01 -0700)]
Merge "Move the public method HttpDateTime.parse() into AndroidHttpClient." into froyo

14 years agoRemove the checkStremingServer checking as it is unstable and introduce the flakiness.
Yu Shan Emily Lau [Fri, 9 Apr 2010 20:53:56 +0000 (13:53 -0700)]
Remove the checkStremingServer checking as it is unstable and introduce the flakiness.

Change-Id: I26e48366998e3692ad8a3394a0a0241832e99a6d

14 years agoMove the public method HttpDateTime.parse() into AndroidHttpClient.
Jesse Wilson [Thu, 8 Apr 2010 21:20:57 +0000 (14:20 -0700)]
Move the public method HttpDateTime.parse() into AndroidHttpClient.

See bug http://b/2553589

Change-Id: Ide3399c7c63daf9c0b8c18669076f2f4d6e9a876

14 years agoMerge "final versions of these fonts from ascender, including GPOS 'mark' feature...
Mike Reed [Fri, 9 Apr 2010 20:10:07 +0000 (13:10 -0700)]
Merge "final versions of these fonts from ascender, including GPOS 'mark' feature" into froyo

14 years agoMerge "Make ThrottleService notice policy changes." into froyo
Robert Greenwalt [Fri, 9 Apr 2010 20:00:05 +0000 (13:00 -0700)]
Merge "Make ThrottleService notice policy changes." into froyo

14 years agoMerge "Fix sim build (sim doesn't have strl*() reliably...)" into froyo
Dan Egnor [Fri, 9 Apr 2010 19:50:11 +0000 (12:50 -0700)]
Merge "Fix sim build (sim doesn't have strl*() reliably...)" into froyo

14 years agoMake ThrottleService notice policy changes.
Robert Greenwalt [Fri, 9 Apr 2010 16:36:09 +0000 (09:36 -0700)]
Make ThrottleService notice policy changes.

Added ContentObserver to watch relevant Secure Settings.
Also added new policy-change broadcast to let settings know.
Lastly reorged things a bit so that all of our broadcasts are sent at boot so the sticky ones
are populated.

bug:2576057
Change-Id: Ie11ffb057de9c801a5088612cd464ea062f3a666

14 years agofinal versions of these fonts from ascender, including GPOS 'mark' feature
Mike Reed [Fri, 9 Apr 2010 19:12:19 +0000 (15:12 -0400)]
final versions of these fonts from ascender, including GPOS 'mark' feature

Change-Id: I3e9faa83b19ac344e12cbda6d33405f040a34a9e
http://b/issue?id=2585430

14 years agoMerge "Do not create intents for application/xhtml+xml" into froyo
Kristian Monsen [Fri, 9 Apr 2010 17:59:20 +0000 (10:59 -0700)]
Merge "Do not create intents for application/xhtml+xml" into froyo

14 years agoMerge "Set mHeldMotionless to a new MOTIONLESS_IGNORE state for fling, this way we...
Grace Kloba [Fri, 9 Apr 2010 17:49:42 +0000 (10:49 -0700)]
Merge "Set mHeldMotionless to a new MOTIONLESS_IGNORE state for fling, this way we will trigger animateScroll during fling for the faster performance. We also avoid keep removing/sending DRAG_HELD_MOTIONLESS message during fling." into froyo

14 years agoDo not create intents for application/xhtml+xml
Kristian Monsen [Fri, 9 Apr 2010 17:34:07 +0000 (18:34 +0100)]
Do not create intents for application/xhtml+xml

Fix for b 2584681, webview opens contents in browser.

Change-Id: I314e808a65f3c2043bd7bc7fcd44ac071f136bdc

14 years agoMerge "Roaming data doesn't count against limits" into froyo
Robert Greenwalt [Fri, 9 Apr 2010 16:29:20 +0000 (09:29 -0700)]
Merge "Roaming data doesn't count against limits" into froyo

14 years agoFix a FATAL ClassCastException in DataConnection.java
Wink Saville [Fri, 9 Apr 2010 15:41:12 +0000 (08:41 -0700)]
Fix a FATAL ClassCastException in DataConnection.java

bug: 2583290
Change-Id: I93e0307664427b29942b1ed1e5acbf21e78a605f

14 years agoSet mHeldMotionless to a new MOTIONLESS_IGNORE state
Grace Kloba [Thu, 8 Apr 2010 20:46:23 +0000 (13:46 -0700)]
Set mHeldMotionless to a new MOTIONLESS_IGNORE state
for fling, this way we will trigger animateScroll
during fling for the faster performance. We also
avoid keep removing/sending DRAG_HELD_MOTIONLESS
message during fling.

Fix http://b/issue?id=2574172

14 years agoMerge "Additional fix for isssue 2548710: Native AudioTrack resources never freed...
Eric Laurent [Fri, 9 Apr 2010 15:48:32 +0000 (08:48 -0700)]
Merge "Additional fix for isssue 2548710: Native AudioTrack resources never freed." into froyo

14 years agoMerge "Support for ID3 V2.4 tags." into froyo
Andreas Huber [Fri, 9 Apr 2010 14:01:58 +0000 (07:01 -0700)]
Merge "Support for ID3 V2.4 tags." into froyo

14 years agoAdditional fix for isssue 2548710: Native AudioTrack resources never freed.
Eric Laurent [Fri, 9 Apr 2010 13:11:48 +0000 (06:11 -0700)]
Additional fix for isssue 2548710: Native AudioTrack resources never freed.

This changes fixes the issue for the direct output thread that was not
addressed by commit 71f37cd8a175ee00635cb91506d6810fd02b5b51.

Change-Id: I1bbe26be5f444415dd97270e49257650f5d2858f

14 years agoSave/restore the picture in a background thread.
Patrick Scott [Thu, 8 Apr 2010 12:32:52 +0000 (08:32 -0400)]
Save/restore the picture in a background thread.

Bug: 2573879
Change-Id: I0962f5286d3a68f8a9093f0c22917b0542ea9291

14 years agoFix sim build (sim doesn't have strl*() reliably...)
Dan Egnor [Fri, 9 Apr 2010 06:46:28 +0000 (23:46 -0700)]
Fix sim build (sim doesn't have strl*() reliably...)

Just stub out the TrafficStats code for the sim.
Bug: 2578938

Change-Id: Ie555f67f581d05ee446ea29cb2223feb350c52f9

14 years agoHail-Mary attempt to avoid apparent blocking problems in readEvents().
Dan Egnor [Fri, 9 Apr 2010 05:19:15 +0000 (22:19 -0700)]
Hail-Mary attempt to avoid apparent blocking problems in readEvents().

Use the same procedure (select() with a short timeout) used by "logcat -d",
which doesn't seem to have any blocking problems.

Bug: 2569403
Change-Id: Ia27bb4207919a1288716b41a007b4b4b52f8e90a

14 years agoRoaming data doesn't count against limits
Robert Greenwalt [Thu, 8 Apr 2010 23:19:24 +0000 (16:19 -0700)]
Roaming data doesn't count against limits

bug:2576057
Change-Id: I51a66e3b49a62e0186816ec0473814a216184e6b

14 years agoMerge "Fix OperationScheduler moratorium calculation for clock rollback case." into...
Dan Egnor [Fri, 9 Apr 2010 00:38:28 +0000 (17:38 -0700)]
Merge "Fix OperationScheduler moratorium calculation for clock rollback case." into froyo

14 years agoFix OperationScheduler moratorium calculation for clock rollback case.
Dan Egnor [Fri, 9 Apr 2010 00:24:26 +0000 (17:24 -0700)]
Fix OperationScheduler moratorium calculation for clock rollback case.

Make the unit test exercise some clock-rollback scenarios, using
a properly injected artificial clock.

Bug: 2579585
Change-Id: I6f81c32318ba27429bd30ff53b48449218e4ac64

14 years agoMerge "Adds back the finalize method on the replaced Paint class." into froyo
Xavier Ducrohet [Fri, 9 Apr 2010 00:29:39 +0000 (17:29 -0700)]
Merge "Adds back the finalize method on the replaced Paint class." into froyo

14 years agoAdds back the finalize method on the replaced Paint class.
Xavier Ducrohet [Fri, 9 Apr 2010 00:18:35 +0000 (17:18 -0700)]
Adds back the finalize method on the replaced Paint class.

without it com.android.layoutlib.bridge.TestClassReplacement fails.

Change-Id: Iafb6548f45c31e901591a45239224895c4403be8

14 years agoMerge "Remove @link to hidden ACCESS_CACHE_FILESYSTEM permission." into froyo
Jeff Brown [Fri, 9 Apr 2010 00:18:15 +0000 (17:18 -0700)]
Merge "Remove @link to hidden ACCESS_CACHE_FILESYSTEM permission." into froyo

14 years agocherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96
Scott Main [Wed, 10 Feb 2010 02:48:27 +0000 (18:48 -0800)]
cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96
docs: rewrite resources documentation

Huge overhaul. Includes all new dev guides about how resources are used
on Android and how to provide alternatives, including how to handle
runtime configuration changes (restarts). Plus all new reference
docs for all the resource types (drawables, strings, menus, etc.).

Change-Id: I12e819d2c5fc11e062281d8fe442c3037e92000a

14 years agoThrottling framework addins
Irfan Sheriff [Thu, 8 Apr 2010 21:12:33 +0000 (14:12 -0700)]
Throttling framework addins

Add ThrottleManager in getSystemService
Add API for URL fetch

Bug: 2576057
Change-Id: Icd25c8b91ea4beea15c74e8ad7292ab48c962253