4438 Commits

Author SHA1 Message Date
Charles Chen
ebb814bbae Fixing synth to file to use the speech queue. 2009-06-30 12:03:06 -07:00
John Wang
107821369b Fix bug 1930055 of NullPointerException.
The NullPointerException in getCallState is caused by the restarting of phone process. getITelephony() was not ready to be used at that moment.

	modified:   java/android/telephony/TelephonyManager.java
2009-06-30 12:01:35 -07:00
Guang Zhu
40656be658 Use additional functions to collect more memory information data points. 2009-06-30 11:56:13 -07:00
Chris Palmer
3856785225 Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that
the index is always < the array's length. Also ensures that the object's
state is consistent. Should resolve a denial-of-service bug when handling
malformed WAP pushes.
2009-06-30 11:50:50 -07:00
Michael Chan
becfc9de9e Added a Formatter parameter to DateUtils.formatDateRange
DateUtils.formatDateRange is using String.format which isn't efficient for
formatting large number of strings. I have added the Formatter parameter which
allows the caller to reuse the formatter of subsequent calls for faster
performance.
2009-06-30 11:48:39 -07:00
Android (Google) Code Review
2f8d58b7ae Merge change 5420 into donut
* changes:
  Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration.
2009-06-30 11:41:05 -07:00
Yu Shan Emily Lau
f47b8e991f Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration. 2009-06-30 11:13:06 -07:00
Mike Lockwood
cd15475bc3 Revert "ConnectivityManager: Add support for bringing up the default APN."
This reverts commit a84b6faffbe7ef5981f3202be0f68a8b44d61a76.

I will work on a better mechanism for bringing up the default APN
when Wifi is enabled.
2009-06-30 14:02:27 -04:00
Android (Google) Code Review
a79ee8e2d3 Merge change 5792 into donut
* changes:
  Fix typo introduced during variable cleanup.
2009-06-30 11:01:10 -07:00
Android (Google) Code Review
5fb4cab2db Merge change 5787 into donut
* changes:
  Fix http://code.google.com/p/android/issues/detail?id=3059
2009-06-30 10:57:18 -07:00
Jaikumar Ganesh
34267f7e17 Fix typo introduced during variable cleanup.
This prevented data connection being established after voice calls on 2G networks.
2009-06-30 10:53:16 -07:00
Wu-cheng Li
b8a10fe456 Allow setPreviewDisplay after startPreview. 2009-07-01 01:41:25 +08:00
Marco Nelissen
2f189fa0f7 Fix http://code.google.com/p/android/issues/detail?id=3059 2009-06-30 10:32:00 -07:00
Android (Google) Code Review
33a7030f56 Merge change 5780 into donut
* changes:
  In TTS synthesis to file, remove hard coded values for the writing of the WAV header. Corrected TTS Service manifest to allow writing to external storage. Corrected memory management when the end of synthesis is signaled.
2009-06-30 09:55:37 -07:00
Jean-Michel Trivi
f07d824ba4 In TTS synthesis to file, remove hard coded values for the writing of the WAV header.
Corrected TTS Service manifest to allow writing to external storage.
Corrected memory management when the end of synthesis is signaled.
2009-06-30 09:50:12 -07:00
Leon Scroggins
3ccd3655a0 Fix a WebView longpress bug.
Longpressing on a WebView while the WebTextView is up calls
WebTextView::performLongPress().  This used to be fine, but now
we may still leave the WebTextView up while the user is longpressing
on something else.  Check to ensure that the focus is the same
as the cursor before calling WebTextView's version.  Also,
send a click if the user longpresses on a different WebTextView,
so it will now behave appropriately.  Requires a change in
external/webkit.

Also remove a duplicate check for inEditingMode().
2009-06-30 11:47:26 -04:00
Leon Scroggins
8cdad88915 Make the caret/selection draw when gaining window focus.
When the WebView loses WindowFocus, we stop drawing the
selection.  We need to resume drawing it, especially for
the context menu, which steals WindowFocus.  Corresponds
to a change in Webkit.
2009-06-30 10:28:44 -04:00
Android (Google) Code Review
7a5738624f Merge change 5720 into donut
* changes:
  Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
2009-06-30 07:06:50 -07:00
lknguyen
b0cba43305 Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads. 2009-06-29 20:50:25 -07:00
Christopher Tate
5e79e32357 am 91717497: Use system properties to track the current transport
Merge commit '9171749700853305f3e6abbcdbd9e02f3a71d459'

* commit '9171749700853305f3e6abbcdbd9e02f3a71d459':
  Use system properties to track the current transport
2009-06-29 20:20:20 -07:00
Android (Google) Code Review
da6edf4d8a am 4cb1276e: Merge change 4956 into donut
Merge commit '4cb1276e143e175590c69ceefa58eb721aa52846'

* commit '4cb1276e143e175590c69ceefa58eb721aa52846':
  Tune the Reconnect back off timer.
2009-06-29 20:20:16 -07:00
Android (Google) Code Review
4658e8ece6 am 05ebcb51: Merge change 5609 into donut
Merge commit '05ebcb5172679a6c196cbf23d7174c04dd9f6ae0'

* commit '05ebcb5172679a6c196cbf23d7174c04dd9f6ae0':
  Update spinner's drawables. Clean up resources, pave the way for new animation.
2009-06-29 20:20:11 -07:00
Android (Google) Code Review
548b9920a8 am 2d9f3169: Merge change 5595 into donut
Merge commit '2d9f31697fb5ece89c80cc66bdd3bd9caa9df9c3'

* commit '2d9f31697fb5ece89c80cc66bdd3bd9caa9df9c3':
  We might try to close the Vorbis file twice under certain
2009-06-29 20:20:04 -07:00
Romain Guy
b8990f39b0 am fbd8f69a: Fixes #1946141. Introduce new caching API to control scaling.
Merge commit 'fbd8f69a84163ef1cf52b07966320caf448c2bc9'

* commit 'fbd8f69a84163ef1cf52b07966320caf448c2bc9':
  Fixes #1946141. Introduce new caching API to control scaling.
2009-06-29 20:19:49 -07:00
Android (Google) Code Review
2187f30d14 am a1590586: Merge change 5578 into donut
Merge commit 'a1590586e4c02e50d14cc99018be2c419f5a07b9'

* commit 'a1590586e4c02e50d14cc99018be2c419f5a07b9':
  Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
2009-06-29 20:18:08 -07:00
Android (Google) Code Review
cfd205c303 am 30599249: Merge change 5570 into donut
Merge commit '3059924953dafdd94dce65d8be42e98fcde305b8'

* commit '3059924953dafdd94dce65d8be42e98fcde305b8':
  Adding implementation of IPA to the TextToSpeech.java
2009-06-29 20:18:01 -07:00
Android (Google) Code Review
62ebe364cb am 3a15fbd7: Merge change 5581 into donut
Merge commit '3a15fbd7df56e44060c78d7832fbea895ceb9bbf'

* commit '3a15fbd7df56e44060c78d7832fbea895ceb9bbf':
  Add a null check in an AutoCompleteTextView callback to prevent a crash.
2009-06-29 20:17:57 -07:00
Amith Yamasani
08bc0d51a0 am a013a98f: Fix the nested preferences title. Again.
Merge commit 'a013a98f93fd5ced58cf76dcc2bd6ab2ca95dd92'

* commit 'a013a98f93fd5ced58cf76dcc2bd6ab2ca95dd92':
  Fix the nested preferences title. Again.
2009-06-29 20:17:53 -07:00
Christopher Tate
f9435d7521 am f7c886b4: Respect android:allowClearUserData=false during restore
Merge commit 'f7c886b4fe27cd9ab4a9991958ff931054556a24'

* commit 'f7c886b4fe27cd9ab4a9991958ff931054556a24':
  Respect android:allowClearUserData=false during restore
2009-06-29 20:17:47 -07:00
Android (Google) Code Review
ff35c1d787 am bd1e8aa5: Merge change 5569 into donut
Merge commit 'bd1e8aa502a6d9231e2a1399cee18debcf70b3d6'

* commit 'bd1e8aa502a6d9231e2a1399cee18debcf70b3d6':
  Trim some superfluous imports.
2009-06-29 20:17:42 -07:00
Android (Google) Code Review
0e04f18ec7 am ec0cf8bc: Merge change 5554 into donut
Merge commit 'ec0cf8bc874f53cfc7256628f0ec56657ac92073'

* commit 'ec0cf8bc874f53cfc7256628f0ec56657ac92073':
  Adding in the playSilence method to TextToSpeech.java
2009-06-29 20:17:36 -07:00
Android (Google) Code Review
083928fefd Merge change 5718 into donut
* changes:
  Fix NullPointerException in DrawableContainer.mutate()
2009-06-29 20:09:27 -07:00
Tammo Spalink
8561de157c eliminate byte-typed cdma sms fields 2009-06-30 11:02:46 +08:00
Android (Google) Code Review
0178afe415 Merge change 5485 into donut
* changes:
  cdma sms is91 support
2009-06-29 19:22:11 -07:00
Android (Google) Code Review
8aadf7ae27 Merge change 5359 into donut
* changes:
  fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
2009-06-29 19:22:05 -07:00
Mathias Agopian
3a6b160a3b when there is a choice between UPDATE_ON_DEMAND and SWAP_BUFFER optimizations, choose UPDATE_ON_DEMAND which is often more efficient. 2009-06-29 18:57:42 -07:00
Christopher Tate
6f317426e4 Don't issue a deletion for the global metadata backup
We were accidentally submitting a deletion for the global metadata key in the
PM backup handling (it was falling into the usual "here's a package that we said
we'd backed up last time, but now it's no longer on device" code).  Don't do
that any more, i.e. actually keep the global metadata key in the backup set.
Oops.
2009-06-29 18:52:55 -07:00
Mathias Agopian
ecfa7ccd4f fix a bug that caused artifacts when SWAP_RECTANGLE was enabled 2009-06-29 18:49:56 -07:00
Mathias Agopian
276826bae2 Region::makeBoundsSelf() efficiently turns a region to its bounds 2009-06-29 18:46:37 -07:00
Phil Dubach
6be507cc66 Fix NullPointerException in DrawableContainer.mutate()
DrawableContainerState.mDrawables is an array which may be only partially
filled, as can be seen in the constructor and the addChild() method.

DrawableContainer.mutate() wrongly assumed that the array does not contain
null references.
2009-06-29 18:31:17 -07:00
Karl Rosaen
97eb32e2ca Fix assertContentsInOrder (bug 1790350).
if we ever get an updated Lists class that includes a
Lists.newArrayList(Iterable<?>
implementation, that would work too.
2009-06-29 18:06:40 -07:00
Mathias Agopian
5fc1b60e7f don't use a 1/4th of the screen size texture for the dim layer
we can't use a texture of 1/4th of the screen for the dim layer, because the mdp internal input resultion is alwyas integers and for very small blits of a couple pixels the scale factor can get way out of range, for instance for a 7 pixels source, the scale factor would be either 7 (7/1) or 3.5 (7/2) instead of 4 (7/1.75). This caused the mdp to fail in some cases and revert to software. we now always use a texture of the actual screen size, so the problem will never happen. This burns 300KB of pmem instead of 21KB. On devices with a larger screen we might want to use a smaller texture and tile it by hand.
2009-06-29 17:32:20 -07:00
Jean-Michel Trivi
bbd63cb285 Fix bug where the default TTS Service country is initialized to the default language. 2009-06-29 17:31:05 -07:00
Android (Google) Code Review
aa4f1f9edc Merge change 5711 into donut
* changes:
  Adding in TTS service support for language query and level of support.
2009-06-29 17:26:32 -07:00
Android (Google) Code Review
22e8cbc32b Merge change 5656 into donut
* changes:
  Generate key events for actions sent to generic input connections.
2009-06-29 17:13:49 -07:00
Grace Kloba
65c0fc4fc4 Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it. 2009-06-29 17:03:42 -07:00
Jean-Michel Trivi
ddb0a803fd Adding in TTS service support for language query and level of support. 2009-06-29 16:58:32 -07:00
Android (Google) Code Review
af01bcaf33 Merge change 5703
* changes:
  Add JS Flag support.
2009-06-29 16:47:22 -07:00
Android (Google) Code Review
1f9508ce4d am ae352273: Merge change 5192 into donut
Merge commit 'ae3522734ef83254626cacee18a9490f6af62415'

* commit 'ae3522734ef83254626cacee18a9490f6af62415':
  make BitwiseInputStream.read return int
2009-06-29 16:37:46 -07:00
Android (Google) Code Review
bacc51026e am d09f86ce: Merge changes 5548,5549 into donut
Merge commit 'd09f86ce175fad6ddbd446363f327dfa0575a1d2'

* commit 'd09f86ce175fad6ddbd446363f327dfa0575a1d2':
  Better (and less) logging from backup.
  Add an extra null terminator.  String8::unlockBuffer is
2009-06-29 16:37:39 -07:00