OSDN Git Service
Andreas Huber [Tue, 30 Mar 2010 22:40:38 +0000 (15:40 -0700)]
Merge "Properly fill in the component name for the software decoders." into froyo
Amith Yamasani [Tue, 30 Mar 2010 22:19:00 +0000 (15:19 -0700)]
Merge "Fix for Never not existing in latest timeout values." into froyo
Amith Yamasani [Tue, 30 Mar 2010 00:58:53 +0000 (17:58 -0700)]
Fix for Never not existing in latest timeout values.
Bug:
2535288
Change-Id: I15ca60c7afe58fbe57e557e6d0028dc200d8b322
Grace Kloba [Tue, 30 Mar 2010 21:51:48 +0000 (14:51 -0700)]
Merge "Remove the shadow under url bar." into froyo
Grace Kloba [Tue, 30 Mar 2010 21:16:43 +0000 (14:16 -0700)]
Remove the shadow under url bar.
This was introduced when we remove the over scroll.
Fix http://b/issue?id=
2557916
Andreas Huber [Tue, 30 Mar 2010 20:50:38 +0000 (13:50 -0700)]
Properly fill in the component name for the software decoders.
Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c
related-to-bug:
2557787
Irfan Sheriff [Tue, 30 Mar 2010 18:00:41 +0000 (11:00 -0700)]
cherry-pick
d4f3958bde05d04f97e0a4054d2a6185989d99f3 into Froyo
Setting the allowed channel count in the
driver can take a long time to potentially
cause ANR in the phone process. Make the call
asynchronous
Bug:
2555117
Change-Id: Ie3c2e6f90aa0ec8ee4b85c989ccae1ca0f2b94f9
Dianne Hackborn [Tue, 30 Mar 2010 20:35:33 +0000 (13:35 -0700)]
Merge "Package manager optimizations." into froyo
Dianne Hackborn [Tue, 30 Mar 2010 17:42:20 +0000 (10:42 -0700)]
Package manager optimizations.
Addresses:
Issue #
2550648: PackageManagerService setComponentEnabledSetting unconditionally
writes Settings xml
Issue #
2549084: Make PackageManager.addPermission have async version
Also make the writing of settings when changing the preferred activities to use
the same async mechanism, and fiddle with thread priorities in the background
thread to go up to foreground priority when holding the lock to write settings
and a few other places. (At some point we should really clean this up to never
acquire the main lock while in the background.)
Change-Id: Ib2b7632543f6fb3f92a225518579f3b2d15e1413
Andreas Huber [Tue, 30 Mar 2010 20:31:57 +0000 (13:31 -0700)]
Merge "Timeout on socket recv calls after 5secs, retry connection also if server unexpectedly closed the connection on its end and we know that there should've been more data available." into froyo
Andreas Huber [Tue, 30 Mar 2010 20:14:19 +0000 (13:14 -0700)]
Timeout on socket recv calls after 5secs, retry connection also if server unexpectedly closed the connection on its end and we know that there should've been more data available.
Change-Id: I749859dae28356080fe72ba035719754e7339c7f
related-to-bug:
2492187
Christopher Tate [Tue, 30 Mar 2010 20:09:50 +0000 (13:09 -0700)]
Merge "Make RestoreSession.getAvailableRestoreSets() asynchronous" into froyo
Daniel Sandler [Tue, 30 Mar 2010 19:45:31 +0000 (15:45 -0400)]
Remove logspew.
Change-Id: I8b56a9c289dcc87080116e6af27721e24d49c3b0
Christopher Tate [Tue, 30 Mar 2010 02:14:24 +0000 (19:14 -0700)]
Make RestoreSession.getAvailableRestoreSets() asynchronous
This transaction can involve the transport having to query a remote backend
over the wire, so it can take a Long Time(tm). Make it main-thread-safe by
making it asynchronous, with the results passed as a callback to the invoker's
RestoreObserver. We also make the IRestoreObserver callback interface
properly oneway.
Bug #
2550665
Bug #
2549422
Change-Id: If18a233a0a3d54c7b55101715c9e6195b762c5a0
Patrick Scott [Tue, 30 Mar 2010 18:41:29 +0000 (11:41 -0700)]
Merge "Fix a simple logic mistake." into froyo
Jean-Michel Trivi [Tue, 30 Mar 2010 01:31:19 +0000 (18:31 -0700)]
Fix bug
2553592 API REVIEW: android.speech
Change 1 of 4
Notes from API Council review:
Rename RecognitionManager to SpeechRecognizer
Change-Id: I892c0d714d928d5e31575c72b6a36281fc4c7a8a
Patrick Scott [Tue, 30 Mar 2010 17:59:09 +0000 (13:59 -0400)]
Fix a simple logic mistake.
If the icon is precomposed or the icon IS null, set the touch icon url. This
ensures there will be a touch icon set if either precomposed or regular is
specified. Precomposed icons take precedence.
Bug:
2546984
Change-Id: Id9291006ecda8659b823ab9629eb98a6f8d45f5e
San Mehat [Tue, 30 Mar 2010 17:35:44 +0000 (10:35 -0700)]
Merge "framework: Hide StorageManager for froyo - DO NOT MERGE" into froyo
Jaikumar Ganesh [Mon, 29 Mar 2010 07:01:34 +0000 (00:01 -0700)]
Relax the requirement of making a DBUS call for creating the Bluez Device.
Bug:
2136464
When the bluez device is created, we get the onDeviceCreated signal.
We add it to our cache when that happens. We can have a device created
even when its not bonded - as a result of OPP. So use this cache to avoid
a DBUS call to Bluez.
Change-Id: I9465da7d72a12a6888128ff40ac1fe598cbae3c3
Kenny Root [Tue, 30 Mar 2010 16:23:16 +0000 (09:23 -0700)]
Merge "Import revised translations" into froyo
Kenny Root [Tue, 30 Mar 2010 16:15:10 +0000 (09:15 -0700)]
Import revised translations
Change-Id: I1580bddbcf945ed733725b486b2699582096d3a5
San Mehat [Mon, 29 Mar 2010 22:01:44 +0000 (15:01 -0700)]
framework: Hide StorageManager for froyo - DO NOT MERGE
Change-Id: Icd58d5be0de1cc0549a5d766421bcc773c8cd868
Signed-off-by: San Mehat <san@google.com>
Bjorn Bringert [Mon, 29 Mar 2010 21:21:43 +0000 (22:21 +0100)]
Clean up SearchableInfo API, JavaDoc and formatting
This change cleans up the JavaDoc in SearchableInfo,
removes trailing whitespace, fixes an if-statement
style violoation, and re-hides some things that were
exposed for Froyo that query deprecated or discouraged
attributes:
SearchableInfo.getSearchButtonText()
SearchableInfo.getLabelId()
SearchableInfo.getIconlId()
class SearchableInfo.ActionKeyInfo
SearchableInfo.findActionKey()
Bug http://b/issue?id=
2553524
Change-Id: Iee5521c844f74137166730e523d29ba07ef1856b
Dianne Hackborn [Tue, 30 Mar 2010 01:41:30 +0000 (18:41 -0700)]
Fix issue #
2547337: switching night modes
Dumb.
Change-Id: Iaa72eaac54422f7fd95cf1050f6b7b6da55af0c3
Dianne Hackborn [Tue, 30 Mar 2010 01:08:45 +0000 (18:08 -0700)]
Hopefully get rid of some ANRs.
Don't hold the activity manager lock the entire time we are processing an ANR,
which often causes us to cause a second ANR as someone else calls into the
activity manager and gets blocked.
Change-Id: Ife4db82b12d6f4378ac2705bd6f60beb1244a1e6
Adam Powell [Mon, 29 Mar 2010 23:02:07 +0000 (16:02 -0700)]
Remove overscrolling
Change-Id: I7e9db8d8a9b8ef67f0c0c82bf57c9155b7ebabea
Oscar Montemayor [Tue, 30 Mar 2010 01:56:57 +0000 (18:56 -0700)]
Merge "DO NOT MERGE Removing unused features from source tree. Please refer to Bug#
2502219." into froyo
Charles Chen [Tue, 30 Mar 2010 01:37:41 +0000 (18:37 -0700)]
Merge "Fix for bug
2548048 - it was impossible for applications to discover if their TTS settings were being overridden by the user or not." into froyo
Charles Chen [Tue, 30 Mar 2010 01:30:30 +0000 (18:30 -0700)]
Fix for bug
2548048 - it was impossible for applications to discover
if their TTS settings were being overridden by the user or not.
Change-Id: I28856a1b79c9455435671d13ed614a1ccb4e95ea
Amith Yamasani [Tue, 30 Mar 2010 01:24:59 +0000 (18:24 -0700)]
Merge "Fix preloaded classes for API rename of BackupAgentHelper" into froyo
Oscar Montemayor [Sat, 27 Mar 2010 01:44:14 +0000 (18:44 -0700)]
DO NOT MERGE
Removing unused features from source tree.
Please refer to Bug#
2502219.
Change-Id: I879c29bfd5ffe933f64bb1082aaae7c956450a5a
Amith Yamasani [Tue, 30 Mar 2010 01:11:56 +0000 (18:11 -0700)]
Fix preloaded classes for API rename of BackupAgentHelper
Change-Id: Ica6301b2aac6879702b98edfcf67fc7bc62002db
Joe Onorato [Tue, 30 Mar 2010 01:06:11 +0000 (18:06 -0700)]
fix the build
Change-Id: I39e1bdfbea1c9dfa6a4a09f94f6eb75095290427
Romain Guy [Mon, 29 Mar 2010 23:31:14 +0000 (16:31 -0700)]
Merge "Fix possible security issue. Bug #
2553187" into froyo
Ben Cheng [Mon, 29 Mar 2010 22:47:26 +0000 (15:47 -0700)]
Replace "safeMode" with a more specific name "vmSafeMode" in the public API.
Bug:
2553512
Change-Id: Id0dad80ecdcb8c7430dcf1ac26132ccd9c0770f5
Steve Howard [Mon, 29 Mar 2010 23:05:35 +0000 (16:05 -0700)]
Merge "Remove upside-down portrait orientation." into froyo
Romain Guy [Mon, 29 Mar 2010 23:03:01 +0000 (16:03 -0700)]
Fix possible security issue.
Bug #
2553187
Limit the max number of lines for each entry in the ResolveActivity to 2. Also
make sure to discard potential styling tags and newlines/space characters from
package name and activity labels.
Change-Id: Ibda3688267aa948b921164d3d3abc8c9236e61a2
Christopher Tate [Mon, 29 Mar 2010 22:50:57 +0000 (15:50 -0700)]
Merge "API CHANGE: rename BackupHelperAgent => BackupAgentHelper per API Council" into froyo
Christopher Tate [Mon, 29 Mar 2010 21:54:02 +0000 (14:54 -0700)]
API CHANGE: rename BackupHelperAgent => BackupAgentHelper per API Council
Part of bug #
2545514
Change-Id: Ic775e3b942c485252149c1b6c15c88517fa4e3e5
Mathias Agopian [Mon, 29 Mar 2010 22:44:48 +0000 (15:44 -0700)]
Merge "Fix Android's glEGLImageTargetRenderbufferOES() wrapper" into froyo
Mathias Agopian [Mon, 29 Mar 2010 22:44:33 +0000 (15:44 -0700)]
Merge "fix [
2542425] memory leak during video recording" into froyo
Dirk Dougherty [Mon, 29 Mar 2010 22:36:53 +0000 (15:36 -0700)]
Merge "doc change: In fundamentals doc, make statement about synchronous execution of RPC less strict. Indicate that FLAG_ONEWAY applies only across processes." into froyo
Andreas Huber [Mon, 29 Mar 2010 22:16:20 +0000 (15:16 -0700)]
Merge "Limit the total amount of ID3 metadata to something (un-)reasonable: 3MB." into froyo
Andreas Huber [Mon, 29 Mar 2010 22:13:40 +0000 (15:13 -0700)]
Limit the total amount of ID3 metadata to something (un-)reasonable: 3MB.
Change-Id: I3f9bbcdd4f563bac27c4ccae58e4179656c264b6
related-to-bug:
1903971
Mathias Agopian [Mon, 29 Mar 2010 22:12:19 +0000 (15:12 -0700)]
Fix Android's glEGLImageTargetRenderbufferOES() wrapper
glEGLImageTargetRenderbufferOES() pass the wrapped EGLImage
to the implementation, rather than the unwrapped one.
Change-Id: I149f9ed73e6ab9089110600e1db4311ba7a8c83a
Jim Miller [Mon, 29 Mar 2010 22:07:06 +0000 (15:07 -0700)]
Merge "Fix
2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs" into froyo
Romain Guy [Mon, 29 Mar 2010 21:58:11 +0000 (14:58 -0700)]
Fix the buid!
Change-Id: Ia6e57da393f04209b180e131df74c24e62052d8c
Dirk Dougherty [Mon, 29 Mar 2010 21:20:41 +0000 (14:20 -0700)]
doc change: In fundamentals doc, make statement about synchronous execution of RPC less strict. Indicate that FLAG_ONEWAY applies only across processes.
Bug:
2554090
Change-Id: Ia13b3d156d230609e8296a3b31c2882ba13681f3
Steve Howard [Mon, 29 Mar 2010 21:43:46 +0000 (14:43 -0700)]
Remove upside-down portrait orientation.
I also realized the ROTATION_NN constants were misdocumented, they
actually align the opposite direction from the "orientation" angle
computed in the code (i.e. orientation=90 is left side up, ROTATION_90
is right side up). I just changed the comment here to keep the change
minimal; I'll update the code to be more consistent outside of this
release branch.
Bug:
2549875
Change-Id: I79c4286be582a21e730b25a8a24f2e1137c6e4cb
Romain Guy [Mon, 29 Mar 2010 21:38:41 +0000 (14:38 -0700)]
Rename tab widget attributes, remove scroll barrier constant.
Bug #
2553515 #
2553595
Change-Id: Id36280a57f00a1ee59251be6be1aae8df2189c09
Doug Zongker [Mon, 29 Mar 2010 20:23:15 +0000 (13:23 -0700)]
relocate android.util.base64.* -> android.util.*
b/
2553469 - API REVIEW: android.util.base64
Change-Id: I6a514032152a8b1899db52d020aca8e8b19e74e9
Mathias Agopian [Mon, 29 Mar 2010 20:45:18 +0000 (13:45 -0700)]
fix [
2542425] memory leak during video recording
Vector::sort() is using _do_copy() incorrectly; _do_copy() calls the
copy constructor, not the assignment operator, so we need to destroy
the "destination" before copying the item.
Change-Id: Iaeeac808fa5341a7d219edeba4aa63d44f31473c
Romain Guy [Mon, 29 Mar 2010 20:00:42 +0000 (13:00 -0700)]
Merge "Tame the monkey. Bug #
2547546" into froyo
Dirk Dougherty [Mon, 29 Mar 2010 20:00:37 +0000 (13:00 -0700)]
Merge "doc change: Indicate that only the first 8 characters of the key alias are used." into froyo
Romain Guy [Mon, 29 Mar 2010 20:00:07 +0000 (13:00 -0700)]
Tame the monkey.
Bug #
2547546
Change-Id: I2a41f53dbd71a166ddce70f3fbec24cfedaa514a
Andreas Huber [Mon, 29 Mar 2010 19:58:03 +0000 (12:58 -0700)]
Merge "Fix a bug where the TimedEventQueue mistakenly accesses a bogus event if the only event in the queue has been cancelled while we're waiting for its scheduled time. Avoids potential int64_t overflow when converting from us to ns." into froyo
Dirk Dougherty [Mon, 29 Mar 2010 19:43:27 +0000 (12:43 -0700)]
doc change: Indicate that only the first 8 characters of the key alias are used.
bug:
2553183
Change-Id: I77cf7ac22b370c14f046a5a6b58b842f59e61f70
Romain Guy [Mon, 29 Mar 2010 19:28:20 +0000 (12:28 -0700)]
Merge "Rename private fields to break bad code examples" into froyo
Romain Guy [Mon, 29 Mar 2010 19:27:30 +0000 (12:27 -0700)]
Rename private fields to break bad code examples
Change-Id: I4a3e8df5de159c703db244212f78824e4105ba90
Jack Palevich [Mon, 29 Mar 2010 19:09:57 +0000 (12:09 -0700)]
Add a test of EGL pausing and resuming.
Irfan Sheriff [Fri, 26 Mar 2010 21:56:07 +0000 (14:56 -0700)]
cherry-pick
288b4ac94571e6f77036831708e7bb7c31874688 into froyo
Killing the WifiWatchdogService thread from
WifiService can cause messages to be handled on
a dead thread. Quit the thread on the broadcast
instead.
A couple of more fixes:
- Do an asynchronous bring up of Wifi. This will
allow WifiWatchdogServiceThread to be immediately
brought up, instead of relying on an update.
- There is no need to listen on supplicant connection
in wifiwatchdog anymore. We kill the thread when
supplicant connection is no more.
Bug:
2546756
Change-Id: I15a188e031bc79856c55aabdd271287b0df0377d
Andreas Huber [Mon, 29 Mar 2010 18:52:08 +0000 (11:52 -0700)]
Fix a bug where the TimedEventQueue mistakenly accesses a bogus event if the only event in the queue has been cancelled while we're waiting for its scheduled time. Avoids potential int64_t overflow when converting from us to ns.
Change-Id: I50e8976ce8d0ecc47ee0eb497296930877ce306a
related-to-bug:
2549465
Romain Guy [Mon, 29 Mar 2010 18:24:31 +0000 (11:24 -0700)]
Merge "Make EditTextPreference scrollable. Bug #
2549257" into froyo
Romain Guy [Mon, 29 Mar 2010 18:23:18 +0000 (11:23 -0700)]
Make EditTextPreference scrollable.
Bug #
2549257
Change-Id: If2f69f957681e15977a7603a1f6533e9d1fea9f7
Daniel Lehmann [Mon, 29 Mar 2010 17:30:54 +0000 (10:30 -0700)]
Merge "Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts Bug:
2542703 Bug:
2549485" into froyo
Jean-Michel Trivi [Mon, 29 Mar 2010 17:05:28 +0000 (10:05 -0700)]
Merge "Implement audio focus support in the notification manager." into froyo
Jean-Michel Trivi [Sat, 27 Mar 2010 01:19:33 +0000 (18:19 -0700)]
Implement audio focus support in the notification manager.
This change introduces the NotificationPlayer class which was
created from the code of android.media.AsyncPlayer. The only modification
was to modify the construction of the MediaPlayer so it properly issues
onCompletion notifications (which are used to abandon audio focus).
Unless the sound to be played is looped, the notification is transient
and other apps may duck (uses AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK in
audio focus request).
Change-Id: I69cbb71d0892447b934351384e4e24a2e239295b
Grace Kloba [Sun, 28 Mar 2010 22:49:23 +0000 (15:49 -0700)]
cherry-pick
4a4f9886a789ece80f127397c1c7ad7f543b78fa into froyo
Use the content width to calculate the zoom overview
width. We used to use the minimum preferred width
to calculate the overview width as it is what we
use to define the viewport width. But some sites,
like cbsnews, engadget, the content width will be
slightly wider than the viewport width decided by
the min preferred width. The result is we can still
scroll a little bit in the overview mode. This issue
is magnified when we introduce the overscroll feature.
By using content width as zoom overview width, we
will have content fit in the overview mode. But
some sites, like
"http://www.sfjazz.org/concerts/2010/spring/artists/towner.php"
will be layout wider in the overview mode than it
is in the zoom in state. This is a tradeoff.
Fix http://b/issue?id=
2551119
Leon Clarke [Mon, 29 Mar 2010 14:00:16 +0000 (15:00 +0100)]
http://b/issue?id=
2496591
When receiving a message to delete the root layer, delay it until the next
new picture message, so that the layers only disappear when we start displaying
the new page, and not the moment the DOM on the old page is destroyed.
Wu-cheng Li [Mon, 29 Mar 2010 08:21:12 +0000 (16:21 +0800)]
Add some comments for zoom methods.
Also change RuntimeException to IllegalArgumentException.
bug:
2458926
Change-Id: I87af31f5f3f10244131a1117bd1725c2d292b587
Jack Palevich [Sat, 27 Mar 2010 22:02:59 +0000 (15:02 -0700)]
Turn off logging.
Daniel Lehmann [Sat, 27 Mar 2010 02:34:13 +0000 (19:34 -0700)]
Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts
Bug:
2542703
Bug:
2549485
Change-Id: Ic2b88fd405043c2869610c9495bd4aa860b5c025
Dirk Dougherty [Sat, 27 Mar 2010 01:25:05 +0000 (18:25 -0700)]
Merge "cherry-pick
7d39f981badf7ec75138d6ef97d37c57a63ab5f0 to froyo." into froyo
Katie McCormick [Tue, 9 Mar 2010 01:05:15 +0000 (17:05 -0800)]
cherry-pick
7d39f981badf7ec75138d6ef97d37c57a63ab5f0 to froyo.
Change-Id: I670cd996a54602b70469b3b6883cce5a2c6d113f
Dianne Hackborn [Sat, 27 Mar 2010 01:06:52 +0000 (18:06 -0700)]
Merge "Fix issue #
2538228: Intents targeting browsers constantly nagging" into froyo
Dirk Dougherty [Fri, 18 Dec 2009 00:59:46 +0000 (16:59 -0800)]
cherry-pick
72aadeb013548cfdc317b5f6fec9dab9551911b8 to froyo.
Change-Id: Ic205588bb0ecd5660b8c8949da88fbae6981f416
Dirk Dougherty [Sat, 27 Mar 2010 00:50:26 +0000 (17:50 -0700)]
Merge "cherry-pick
af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo" into froyo
Dirk Dougherty [Sat, 27 Mar 2010 00:32:26 +0000 (17:32 -0700)]
cherry-pick
af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo
Conflicts:
docs/html/sdk/installing.jd
Change-Id: Id43ad8c62039099bb518722bb8694dcf8ba6dfa6
Romain Guy [Sat, 27 Mar 2010 00:30:40 +0000 (17:30 -0700)]
Merge "Don't assume there's a selected position in touch mode. Bug #
2520743" into froyo
Romain Guy [Sat, 27 Mar 2010 00:29:45 +0000 (17:29 -0700)]
Don't assume there's a selected position in touch mode.
Bug #
2520743
Bad GridView, bad!
Change-Id: Ideed32dc70a69c85df5afbf949e78b481e147b7f
Dianne Hackborn [Sat, 27 Mar 2010 00:17:25 +0000 (17:17 -0700)]
Fix issue #
2538228: Intents targeting browsers constantly nagging
Some applications are setting the MIME type field for an http:
intent, which is technically wrong because the recipient opening
the URI will get the MIME type from the header. This was hitting
a bug when we compute the intent filter when setting the
preferred activity, where we have to set both the MIME type and
data URI for the intent filter. (For file: and content: URIs
only the MIME type is needed, since these can be opened directly
through ContentResolver so everyone is presumed to be able to
handle them.)
Change-Id: Ia7025e6859e9c90997bf56c2c80f225fca7a2007
Dirk Dougherty [Fri, 26 Mar 2010 23:32:02 +0000 (16:32 -0700)]
cherry-pick
fda3521ea37b53c1dc633c39845e4e8f25c3234f into froyo
Conflicts:
docs/html/sdk/ndk/1.5_r1/index.jd
Change-Id: I19f6e97bd019ac347a34db0aea157a33d0217189
Dirk Dougherty [Fri, 26 Mar 2010 23:27:07 +0000 (16:27 -0700)]
Merge "Cherry-pick
97432e866eedd2a179242fa7017e03b6febe4887 to froyo." into froyo
Katie McCormick [Fri, 26 Feb 2010 03:50:25 +0000 (19:50 -0800)]
Cherry-pick
97432e866eedd2a179242fa7017e03b6febe4887 to froyo.
Change-Id: Iaad92f99883c868d71d0cb17c115811e017994e4
Jean-Michel Trivi [Fri, 26 Mar 2010 23:17:38 +0000 (16:17 -0700)]
Merge "Cherry-picking this fix into Froyo." into froyo
Charles Chen [Fri, 26 Mar 2010 02:59:50 +0000 (19:59 -0700)]
Cherry-picking this fix into Froyo.
This fix is part of addressing bug #
2548048
Making it possible to determine which TTS engine is currently set
as the default by the user.
Change-Id: Ifa422f43a33498b94d96811078c0794d64668357
Jim Miller [Fri, 26 Mar 2010 22:54:09 +0000 (15:54 -0700)]
Fix
2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs
This is try to capture the case where we sometimes see UNSPECIFIED
MeasureSpec in SlidingTab. It should be OK as long as one of the dimensions
is constrained. The log event will give some indication of what's
going on when this happens.
This also fixes a bug where it was possible to not reset the mAnimating flag
in the Phone app.
Change-Id: Ibab1c944ec895a7c19d5a18cc67f6e4db716f685
Grace Kloba [Fri, 26 Mar 2010 22:30:26 +0000 (15:30 -0700)]
Merge "Remove long_press when WebView lost window focus. Reset touch mode too." into froyo
Grace Kloba [Fri, 26 Mar 2010 22:01:30 +0000 (15:01 -0700)]
Remove long_press when WebView lost window focus.
Reset touch mode too.
Fix http://b/issue?id=
2542711.
Also move dismissZoomControl() before calling
super.onDetachedFromWindow(). This is a guess to
fix http://b/issue?id=
2547574
Christopher Tate [Thu, 25 Mar 2010 23:06:43 +0000 (16:06 -0700)]
API CHANGE: Backup/restore API changes requested by the API Council
* @hide the android.app.backup.RestoreSession class and functionality
* Provide a public method on android.app.backup.BackupManager that apps
can use to request a restore pass of their last-known-good dataset.
The new method is called requestRestore().
* Provide the name of the package being restored, not just its ordinal,
in the RestoreObserver's onUpdate() callback.
Part of bug #
2545514
Change-Id: I9689bf8d6e2b808b4ee412424a36a835be0a5ca8
Brett Chabot [Thu, 25 Mar 2010 20:49:26 +0000 (13:49 -0700)]
Move PackageManagerTests and AsecTests.
Remove PackageManagerTests test's from continuous due to flakiness.
merged from abandoned master.
Change-Id: I0a542df9df572c37bd1aa987cdc9fb2f95001a7c
Grace Kloba [Fri, 26 Mar 2010 20:55:34 +0000 (13:55 -0700)]
Merge "cherry-picked
bf4650ca39c9153e38c76280ceb5e9af48b67751 to froyo" into froyo
Dianne Hackborn [Fri, 26 Mar 2010 07:44:29 +0000 (00:44 -0700)]
Fix issue #
2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83
There was a really dumb bug that was causing us to not always apply
the new configuration. As a result of fixing this, there were new
glithes in the transition between car and regular mode, so further
work here to fix that. And since I was actually working during the
night and seeing night mode, I noticed how obnoxiously bright the
status bar is compared to the car home at night, so it now nicely
dims itself when we switch to the night config. Oh and in doing
that I also found and fixed a bug in dispatching config changes to
a window (where they wouldn't get dispatched if the window didn't
resize).
FINALLY... tweak the wallpaper enter/exit animations a bit to
make them a little smoother.
Change-Id: I4e062093cbcfbc919307799a794846db2920216f
Jean-Baptiste Queru [Fri, 26 Mar 2010 19:25:11 +0000 (12:25 -0700)]
Merge "Hide download manager." into froyo
Joe Onorato [Fri, 26 Mar 2010 19:14:49 +0000 (12:14 -0700)]
Merge "Fix StatusBarService deadlock for real this time." into froyo
Joe Onorato [Fri, 26 Mar 2010 19:11:44 +0000 (12:11 -0700)]
Fix StatusBarService deadlock for real this time.
The lock is now only held long enough to swap the queue with a new ArrayList.
Bug:
2542233
Change-Id: I8c1c3d4d0b5b53166cc239fc0069d69929b43f91
Grace Kloba [Fri, 26 Mar 2010 07:00:06 +0000 (00:00 -0700)]
cherry-picked
bf4650ca39c9153e38c76280ceb5e9af48b67751 to froyo
According to GMail profile, almost half of WebView
init time is spent in creating the zoomControl which
is not used by them. So change to lazy initialize
the ZoomButtonControl which will be used by Browser.
Fix http://b/issue?id=
2546481
Daniel Sandler [Fri, 26 Mar 2010 18:41:34 +0000 (11:41 -0700)]
Merge "Redesigned keyguard layout in the no-SIM case. DO NOT MERGE" into froyo
Jean-Baptiste Queru [Fri, 26 Mar 2010 17:29:28 +0000 (10:29 -0700)]
Hide download manager.
Not ready for public consumption yet.
Bug:
2544512
Change-Id: I4a5b3c5f6afbc911d31e24333c2898d0c36281a3
Andreas Huber [Fri, 26 Mar 2010 17:17:17 +0000 (10:17 -0700)]
Finer-grained locking in AwesomePlayer, position and duration are now protected by a separate mutex that's only held for brief moments of time.
Change-Id: I989baf5a0ea8923985c560c2ec274abda0780242
related-to-bug:
2546577