OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change 8218 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:49:20 +0000 (11:49 -0700)]
Merge change 8218 into donut

* changes:
  DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).

14 years agoMerge change 8213 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:48:11 +0000 (11:48 -0700)]
Merge change 8213 into donut

* changes:
  Resetting the setLanguage() call to its intended behavior after change 8089 which works around the bug where a language cannot be set if the default language (which is loaded upon initialization) isn't eng-USA.

14 years agoDrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).
Romain Guy [Wed, 22 Jul 2009 18:35:49 +0000 (11:35 -0700)]
DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).

Before this change, DrawableContainer would always return true from getPadding(Rect)
even if all of its children were returning false from getPadding(Rect). This change
modifies this behavior to respect getPadding(Rect): mConstantPadding is kept null
when getPadding(Rect) returns false for all of the children and a flag is set
to avoid recomputing that value every time getConstantPadding() is invoked.

14 years agoMerge change 8216 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:30:23 +0000 (11:30 -0700)]
Merge change 8216 into donut

* changes:
  Fixes #1994125. Ensures AbsListView's filter window is always dismissed.

14 years agoFixes #1994125. Ensures AbsListView's filter window is always dismissed.
Romain Guy [Wed, 22 Jul 2009 18:25:42 +0000 (11:25 -0700)]
Fixes #1994125. Ensures AbsListView's filter window is always dismissed.

14 years agoMerge change 8210 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:22:07 +0000 (11:22 -0700)]
Merge change 8210 into donut

* changes:
  Always call ensureImeVisible when the text field is clicked. We want this regardless of whether dropDownAlwaysVisible is true or not, as long as the popup is showing and is potentially obscuring the IME.

14 years agoMerge change 8209 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:19:18 +0000 (11:19 -0700)]
Merge change 8209 into donut

* changes:
  Work around StateListDrawable padding in search suggestions

15 years agoAlways call ensureImeVisible when the text field is clicked. We want this
Mike LeBeau [Wed, 22 Jul 2009 18:17:48 +0000 (11:17 -0700)]
Always call ensureImeVisible when the text field is clicked. We want this
regardless of whether dropDownAlwaysVisible is true or not, as long as
the popup is showing and is potentially obscuring the IME.

15 years agoResetting the setLanguage() call to its intended behavior after change 8089
Jean-Michel Trivi [Wed, 22 Jul 2009 18:15:23 +0000 (11:15 -0700)]
Resetting the setLanguage() call to its intended behavior after change 8089
which works around the bug where a language cannot be set if the default
language (which is loaded upon initialization) isn't eng-USA.

15 years agoWork around StateListDrawable padding in search suggestions
Bjorn Bringert [Wed, 22 Jul 2009 18:13:39 +0000 (19:13 +0100)]
Work around StateListDrawable padding in search suggestions

Sometimes when searching, some of the suggestions had no left padding.
The left-hand side icons were flush with the left edge of the screen.
The problems was that setting a StateListDrawable as a background
will always set the padding of a View, because of a problem in
DrawableContainer.

DrawableContainer.DrawableContainerState.getConstantPadding()
will always return a Rect if mVariablePadding is false, which
makes DrawableContainer.getPadding() return true, which
causes View to change the padding.

As a workaround, we use setVariablePadding(true) on the background
that we create.

Fixes http://b/editIssue?id=1984813

15 years agoMerge change 8172 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 17:23:40 +0000 (10:23 -0700)]
Merge change 8172 into donut

* changes:
  Add the phase2 field for EAP WiFi configuration.

15 years agoMerge change 8201 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 17:23:16 +0000 (10:23 -0700)]
Merge change 8201 into donut

* changes:
  Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).

15 years agoProactively set mVisible attribute in startSearch and stopSearch (not just in message...
Karl Rosaen [Wed, 22 Jul 2009 17:11:00 +0000 (10:11 -0700)]
Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).

This way someone can call searchManger.startSearch() and immediately have searchManger.isVisible() reflect
the correct value.

Fixes failing tests and bug 1993675

15 years agoMerge change 8131 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 17:03:56 +0000 (10:03 -0700)]
Merge change 8131 into donut

* changes:
  Fix android.core.FileTest#testFile: add sdcard write permission to test.

15 years agoMerge change 8179 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 12:02:53 +0000 (05:02 -0700)]
Merge change 8179 into donut

* changes:
  Fix SQL generated by updateWithOnConflict()

15 years agoFix SQL generated by updateWithOnConflict()
Bjorn Bringert [Wed, 22 Jul 2009 11:49:17 +0000 (12:49 +0100)]
Fix SQL generated by updateWithOnConflict()

Before, SQLiteDatabase.updateWithOnConflict() method generated
syntactically invalid SQL if the ConflictAlgorithm was non-null.
For example, it would generate
"UPDATE  OR REPLACEshortcuts SET ...",
when it should be "UPDATE OR REPLACE shortcuts SET ...".

Fixes http://b/issue?id=1995470

15 years agoAdd the phase2 field for EAP WiFi configuration.
Chung-yih Wang [Wed, 22 Jul 2009 07:56:04 +0000 (15:56 +0800)]
Add the phase2 field for EAP WiFi configuration.

15 years agoMerge change 8082 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 07:57:48 +0000 (00:57 -0700)]
Merge change 8082 into donut

* changes:
  Cleanup the old keystore APIs.

15 years agoMerge change 8126 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 02:01:28 +0000 (19:01 -0700)]
Merge change 8126 into donut

* changes:
  First pass at reworking screen density/size APIs.

15 years agoFirst pass at reworking screen density/size APIs.
Dianne Hackborn [Wed, 22 Jul 2009 00:46:02 +0000 (17:46 -0700)]
First pass at reworking screen density/size APIs.

This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.

15 years agoMerge change 8130 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 01:17:42 +0000 (18:17 -0700)]
Merge change 8130 into donut

* changes:
  Increase the volume of the AudioTrack instance used for the speech synthesis.

15 years agoFix android.core.FileTest#testFile: add sdcard write permission to test.
Brett Chabot [Wed, 22 Jul 2009 01:17:05 +0000 (18:17 -0700)]
Fix android.core.FileTest#testFile: add sdcard write permission to test.

15 years agoIncrease the volume of the AudioTrack instance used for the speech synthesis.
Jean-Michel Trivi [Wed, 22 Jul 2009 01:10:04 +0000 (18:10 -0700)]
Increase the volume of the AudioTrack instance used for the speech synthesis.

15 years ago* Adjust canvas size under compatibility mode.
Mitsuru Oshima [Tue, 21 Jul 2009 21:39:34 +0000 (14:39 -0700)]
* Adjust canvas size under compatibility mode.

15 years agoMerge change 8098 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 00:39:05 +0000 (17:39 -0700)]
Merge change 8098 into donut

* changes:
  cast is floor. Use round instead.  This fixes a few layout issues (that was due to smaller widnow size)

15 years agoMerge change 8121 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 00:06:04 +0000 (17:06 -0700)]
Merge change 8121 into donut

* changes:
  Fixes #1818201. Do not attempt to display the popup until after the first layout.

15 years agoFixes #1818201. Do not attempt to display the popup until after the first layout.
Romain Guy [Tue, 21 Jul 2009 23:57:29 +0000 (16:57 -0700)]
Fixes #1818201. Do not attempt to display the popup until after the first layout.

15 years agocast is floor. Use round instead.
Mitsuru Oshima [Tue, 21 Jul 2009 22:40:36 +0000 (15:40 -0700)]
cast is floor. Use round instead.
 This fixes a few layout issues (that was due to smaller widnow size)

15 years agoMerge change 8111 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 23:41:41 +0000 (16:41 -0700)]
Merge change 8111 into donut

* changes:
  Don't start search from a dialog if there is no activity associated with the search manager at that point.

15 years agoMerge change 8106 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 23:32:14 +0000 (16:32 -0700)]
Merge change 8106 into donut

* changes:
  Add note to Intent.fillIn javadoc to describe component copying behavior.

15 years agoDon't start search from a dialog if there is no activity associated with
Karl Rosaen [Tue, 21 Jul 2009 23:21:32 +0000 (16:21 -0700)]
Don't start search from a dialog if there is no activity associated with
the search manager at that point.

Still works:
- hitting search when a managed dialog of an app is showing will dismiss
  the dialog and start in-app search (if it supports it), falling back
  on global search
- hitting search when a dialog of an app (not managed by the activity) will
  dismiss the dialog and start global search
- hitting search when a system dialog is showing will just dismiss the dialog.

15 years agoAdd note to Intent.fillIn javadoc to describe component copying behavior.
Brett Chabot [Tue, 21 Jul 2009 23:07:23 +0000 (16:07 -0700)]
Add note to Intent.fillIn javadoc to describe component copying behavior.

15 years agoCleanup the old keystore APIs.
Chung-yih Wang [Tue, 21 Jul 2009 22:04:58 +0000 (06:04 +0800)]
Cleanup the old keystore APIs.

15 years agoMerge change 8073 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 21:44:18 +0000 (14:44 -0700)]
Merge change 8073 into donut

* changes:
  Reset the speech synth singleton to null when the service is destroyed so it can be recreated when the service is initialized. In the interface with the native synthesizer library, close the lib in the finalizer, delete the global ref to the SynthProxy java object.

15 years agoReturn error codes for storing the key/cert in addPkcs12Keystore()
Chung-yih Wang [Tue, 21 Jul 2009 21:31:48 +0000 (05:31 +0800)]
Return error codes for storing the key/cert in addPkcs12Keystore()

15 years agoReset the speech synth singleton to null when the service is destroyed
Jean-Michel Trivi [Tue, 21 Jul 2009 21:12:47 +0000 (14:12 -0700)]
Reset the speech synth singleton to null when the service is destroyed
so it can be recreated when the service is initialized.
In the interface with the native synthesizer library, close the lib
in the finalizer, delete the global ref to the SynthProxy java object.

15 years agoMerge change 8061 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 21:16:55 +0000 (14:16 -0700)]
Merge change 8061 into donut

* changes:
  Throw a connecting exception when timed out.

15 years agoThrow a connecting exception when timed out.
Hung-ying Tyan [Tue, 21 Jul 2009 20:37:39 +0000 (04:37 +0800)]
Throw a connecting exception when timed out.

15 years agoMerge snapshot variant of donut back into main tree
Jean-Baptiste Queru [Tue, 21 Jul 2009 18:55:14 +0000 (11:55 -0700)]
Merge snapshot variant of donut back into main tree

15 years agoMerge change 8036 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 18:37:27 +0000 (11:37 -0700)]
Merge change 8036 into donut

* changes:
  * Disable compatibility mode for all cases.

15 years ago* Disable compatibility mode for all cases.
Mitsuru Oshima [Tue, 21 Jul 2009 16:51:05 +0000 (09:51 -0700)]
* Disable compatibility mode for all cases.

15 years agodonut snapshot
Jean-Baptiste Queru [Tue, 21 Jul 2009 18:16:54 +0000 (11:16 -0700)]
donut snapshot

15 years agoMerge change 7854 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 18:10:16 +0000 (11:10 -0700)]
Merge change 7854 into donut

* changes:
  Issue #1884058 (Need to only record frequency and duration for selected Google apps)

15 years agoMerge change 8026 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 17:20:48 +0000 (10:20 -0700)]
Merge change 8026 into donut

* changes:
  Make sure the speech synthesizer proxy is a singleton in the TTS service.

15 years agoMake sure the speech synthesizer proxy is a singleton in the TTS service.
Jean-Michel Trivi [Tue, 21 Jul 2009 17:13:41 +0000 (10:13 -0700)]
Make sure the speech synthesizer proxy is a singleton in the TTS service.

15 years agoAdd logging to help track down intermittent bug
Dave Sparks [Tue, 21 Jul 2009 15:43:29 +0000 (08:43 -0700)]
Add logging to help track down intermittent bug

15 years agoRemove unused search dialog layout files.
Mike LeBeau [Tue, 21 Jul 2009 05:53:02 +0000 (22:53 -0700)]
Remove unused search dialog layout files.

15 years agoRevert the setLanguage() call to its previous implementation as
Jean-Michel Trivi [Tue, 21 Jul 2009 02:14:18 +0000 (19:14 -0700)]
Revert the setLanguage() call to its previous implementation as
waiting to change the language right before a call to speak can
put the engine in an unstable state.

15 years agoMerge change 7970 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 00:48:25 +0000 (17:48 -0700)]
Merge change 7970 into donut

* changes:
  Define a broadcast intent for the web search provider changing. Unhide the broadcast intent for searchables changing.

15 years agoMerge change 7961 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 00:42:21 +0000 (17:42 -0700)]
Merge change 7961 into donut

* changes:
  Bluetooth at command tracking.

15 years agoDefine a broadcast intent for the web search provider changing. Unhide
Mike LeBeau [Tue, 21 Jul 2009 00:37:38 +0000 (17:37 -0700)]
Define a broadcast intent for the web search provider changing. Unhide
the broadcast intent for searchables changing.

15 years agoMerge change 7934 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 00:15:07 +0000 (17:15 -0700)]
Merge change 7934 into donut

* changes:
  Unhide new SearchManager APIs for Donut.

15 years agoUnhide new SearchManager APIs for Donut.
Mike LeBeau [Mon, 20 Jul 2009 21:09:52 +0000 (14:09 -0700)]
Unhide new SearchManager APIs for Donut.

15 years agoMerge change 7862 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 00:13:06 +0000 (17:13 -0700)]
Merge change 7862 into donut

* changes:
      * Don't clip the display if LAYOUT_NO_LIMITS is specified (as with PhoneWindowmanager does)     * FullScreen mode was not hiding status bar for app in compatibility mode       * fixed fillsScreenLw to take compatibility window into account     * Fixed the logic in needsBackgroundFiller to be consistent with other places.     * Fix NPE in WindowManagerService#applyAnimationLocked  LayoutParam can be null.

15 years agoMerge change 7948 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 23:22:47 +0000 (16:22 -0700)]
Merge change 7948 into donut

* changes:
  Fix updates from read-only calendar.

15 years agoMerge change 7933 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 23:19:52 +0000 (16:19 -0700)]
Merge change 7933 into donut

* changes:
  Prevent the setLanguage() method in TextToSpeech to change the language for all current TextToSpeech instances by only caching the language value so it is used with each subsequent utterance for this instance. Synchronize calls to the engine around a global mutex since the engine isn't thread-safe, except for the stop() call which is meant to interrupt the synthesis loop.

15 years agoMerge change 7959 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 23:11:33 +0000 (16:11 -0700)]
Merge change 7959 into donut

* changes:
  Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.

15 years agoPrevent the setLanguage() method in TextToSpeech to change the language
Jean-Michel Trivi [Mon, 20 Jul 2009 21:05:33 +0000 (14:05 -0700)]
Prevent the setLanguage() method in TextToSpeech to change the language
for all current TextToSpeech instances by only caching the language
value so it is used with each subsequent utterance for this instance.
Synchronize calls to the engine around a global mutex since the engine
isn't thread-safe, except for the stop() call which is meant to interrupt
the synthesis loop.

15 years agoAdding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
Swarna Kumar [Mon, 20 Jul 2009 23:06:20 +0000 (16:06 -0700)]
Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.

15 years agoFix the build
Yu Shan Emily Lau [Mon, 20 Jul 2009 23:01:54 +0000 (16:01 -0700)]
Fix the build

15 years agoFix updates from read-only calendar.
Ken Shirriff [Mon, 20 Jul 2009 21:57:24 +0000 (14:57 -0700)]
Fix updates from read-only calendar.

Change 2934 introduced a bug that causes updates to an event on a
read-only shared calendar to be discarded by the device.  The
issue is the server version is null for a read-only calendar.

bug=1990826

15 years agoMerge change 7917 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 22:13:00 +0000 (15:13 -0700)]
Merge change 7917 into donut

* changes:
  Added the vpn unit test template.

15 years agoAdded the vpn unit test template.
Yu Shan Emily Lau [Mon, 20 Jul 2009 18:53:13 +0000 (11:53 -0700)]
Added the vpn unit test template.

15 years agoMerge change 7941 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 21:35:10 +0000 (14:35 -0700)]
Merge change 7941 into donut

* changes:
  add comment to illuminate why we only dismiss the dialog when launching an intent for in app search

15 years agoadd comment to illuminate why we only dismiss the dialog when launching an intent...
Karl Rosaen [Mon, 20 Jul 2009 21:34:16 +0000 (14:34 -0700)]
add comment to illuminate why we only dismiss the dialog when launching an intent for in app search

15 years agoMerge change 7940 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 21:31:54 +0000 (14:31 -0700)]
Merge change 7940 into donut

* changes:
  whoops, still need to dismiss when launching an intent for in-app search

15 years agowhoops, still need to dismiss when launching an intent for in-app search
Karl Rosaen [Mon, 20 Jul 2009 21:30:55 +0000 (14:30 -0700)]
whoops, still need to dismiss when launching an intent for in-app search

15 years agoMerge change 7903 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 21:14:27 +0000 (14:14 -0700)]
Merge change 7903 into donut

* changes:
  Fix back key handling for search dialog.

15 years agoFix back key handling for search dialog.
Karl Rosaen [Mon, 20 Jul 2009 16:26:10 +0000 (09:26 -0700)]
Fix back key handling for search dialog.

Now that the search manager service handles hiding (not dismissing) and reshowing it
when the user hits back after launching a result, search manager can't cache
"mShowing".  Also noticed a few other minor problems that was hosing the handling
of pause / resume to reshow the dialog, like moving some logic to onHide instead
of onDismiss.

15 years ago * Don't clip the display if LAYOUT_NO_LIMITS is specified (as with PhoneWindowman...
Mitsuru Oshima [Mon, 20 Jul 2009 21:01:43 +0000 (14:01 -0700)]
* Don't clip the display if LAYOUT_NO_LIMITS is specified (as with PhoneWindowmanager does)
    * FullScreen mode was not hiding status bar for app in compatibility mode
      * fixed fillsScreenLw to take compatibility window into account
    * Fixed the logic in needsBackgroundFiller to be consistent with other places.
    * Fix NPE in WindowManagerService#applyAnimationLocked  LayoutParam can be null.

15 years agoMerge change 7889 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 20:28:10 +0000 (13:28 -0700)]
Merge change 7889 into donut

* changes:
  Ignore unneeded soft keyboard in ACTV height calc

15 years agoBluetooth at command tracking.
Amith Yamasani [Mon, 13 Jul 2009 23:02:45 +0000 (16:02 -0700)]
Bluetooth at command tracking.

15 years agoMerge change 7833 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 16:51:21 +0000 (09:51 -0700)]
Merge change 7833 into donut

* changes:
  Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)

15 years agoIgnore unneeded soft keyboard in ACTV height calc
Bjorn Bringert [Mon, 20 Jul 2009 14:36:24 +0000 (15:36 +0100)]
Ignore unneeded soft keyboard in ACTV height calc

Before, if dropDownAlwaysVisible was false,
the soft keyboard height was always taken into
account when calculating the available vertical space for
the AutoCompleteTextView drop-down height.
This meant that the drop-down would never pop over the soft
keyboard when navigating in the drop-down list.

This change makes the drop-down pop over the soft keyboard
when the keyboard is not needed, regardless of the value of
dropDownAlwaysVisible.

Fixes http://b/issue?id=1978935

15 years agoMerge change 7857 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 02:50:33 +0000 (19:50 -0700)]
Merge change 7857 into donut

* changes:
  Remove exception throw when a view has a self dependency inside a RelativeLayout.

15 years agoRemove exception throw when a view has a self dependency inside a
Romain Guy [Mon, 20 Jul 2009 02:47:42 +0000 (19:47 -0700)]
Remove exception throw when a view has a self dependency inside a
RelativeLayout.

There are unfortunately successful 3rd party apps declaring self dependencies.
There's no reason to crash the app so just ignore this issue.

15 years ago* Reverted the change in PackageParser that I checked by accident
Mitsuru Oshima [Sat, 18 Jul 2009 00:23:31 +0000 (17:23 -0700)]
* Reverted the change in PackageParser that I checked by accident
* More surface view fix.
  - correct event translation on surface view.
  - use compatible window
* removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, and this was not necessary.
* Added compatibility related info to package dumpsys

15 years agoMerge change 7840 into donut
Android (Google) Code Review [Sun, 19 Jul 2009 22:29:09 +0000 (15:29 -0700)]
Merge change 7840 into donut

* changes:
  Fix issue where scaled bitmap sizes could be wrong.

15 years agoIssue #1884058 (Need to only record frequency and duration for selected Google apps)
Dianne Hackborn [Sun, 19 Jul 2009 21:18:51 +0000 (14:18 -0700)]
Issue #1884058 (Need to only record frequency and duration for selected Google apps)

Quick and dirty solution: a new --packages argument allows you to specify an explicit
set of packages to include in the dump.  There is also now a new GServices setting
that can provide a value for it.

15 years agoStop a daemon before starting it
Hung-ying Tyan [Sat, 18 Jul 2009 03:12:40 +0000 (11:12 +0800)]
Stop a daemon before starting it

in case the daemon is not cleaned up in last session.

15 years agoFix issue where scaled bitmap sizes could be wrong.
Dianne Hackborn [Sun, 19 Jul 2009 00:13:29 +0000 (17:13 -0700)]
Fix issue where scaled bitmap sizes could be wrong.

The Bitmap functions to get the scaled width/height couldn't actually
do the right thing because they didn't know the destination they would
be drawing to.  Now there are two forms of them, taking an explicit
parameter specifying the destination.

15 years agoMerge change 7726 into donut
Android (Google) Code Review [Sat, 18 Jul 2009 09:12:02 +0000 (02:12 -0700)]
Merge change 7726 into donut

* changes:
  Fix issue 1985479 lots of backup NPEs.

15 years agoFixing the random audio mangling problem (TTS becomes incomprehensibly fast)
Charles Chen [Sat, 18 Jul 2009 07:23:34 +0000 (00:23 -0700)]
Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)

15 years agoMerge change 7829 into donut
Android (Google) Code Review [Sat, 18 Jul 2009 04:39:26 +0000 (21:39 -0700)]
Merge change 7829 into donut

* changes:
  Making sure that there are no calls made to the native TTS layer if the utterance is in the process of being canceled.

15 years agoMaking sure that there are no calls made to the native TTS
Charles Chen [Sat, 18 Jul 2009 03:57:21 +0000 (20:57 -0700)]
Making sure that there are no calls made to the native TTS
layer if the utterance is in the process of being canceled.

15 years agoMerge change 7819 into donut
Android (Google) Code Review [Sat, 18 Jul 2009 03:09:43 +0000 (20:09 -0700)]
Merge change 7819 into donut

* changes:
  Fix NullPointer in VpnServiceBinder.checkStatus().

15 years agoFix NullPointer in VpnServiceBinder.checkStatus().
Hung-ying Tyan [Sat, 18 Jul 2009 02:20:10 +0000 (10:20 +0800)]
Fix NullPointer in VpnServiceBinder.checkStatus().

15 years agoMerge change 7811 into donut
Android (Google) Code Review [Sat, 18 Jul 2009 01:33:25 +0000 (18:33 -0700)]
Merge change 7811 into donut

* changes:
  Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.

15 years agoRemove obsolete playBuffer() method from the text-to-speech SynthProxy class.
Jean-Michel Trivi [Sat, 18 Jul 2009 01:22:15 +0000 (18:22 -0700)]
Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.

15 years agoMerge change 7783 into donut
Android (Google) Code Review [Sat, 18 Jul 2009 00:50:41 +0000 (17:50 -0700)]
Merge change 7783 into donut

* changes:
  Add "nodpi" density, and expose a bunch of density-related APIs.

15 years agoAdd "nodpi" density, and expose a bunch of density-related APIs.
Dianne Hackborn [Fri, 17 Jul 2009 18:13:48 +0000 (11:13 -0700)]
Add "nodpi" density, and expose a bunch of density-related APIs.

Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.

15 years agoMerge change 7753 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 21:43:01 +0000 (14:43 -0700)]
Merge change 7753 into donut

* changes:
  Add a delay before collecting memory information

15 years agoMerge change 7720 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 21:39:52 +0000 (14:39 -0700)]
Merge change 7720 into donut

* changes:
  Fix global ref leak in android.media.AudioRecord. Delete global refs to the native AudioRecord pointer and the callback cookie (for native to Java calls) in the finalize() function and when an error occurs during the allocation of the native resources.

15 years agoMerge change 6809 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 21:27:23 +0000 (14:27 -0700)]
Merge change 6809 into donut

* changes:
  Correctly deliver AppWidgetProvider.onDeleted() events.

15 years agoAdd a delay before collecting memory information
Guang Zhu [Fri, 17 Jul 2009 21:22:24 +0000 (14:22 -0700)]
Add a delay before collecting memory information

Hopefully this gives enough time for more memory recycling. Because it is observed that several seconds after a suite is run, the memory usage could drop by 1-2M.

15 years agoFix issue 1985479 lots of backup NPEs.
Eric Laurent [Fri, 17 Jul 2009 19:27:43 +0000 (12:27 -0700)]
Fix issue 1985479 lots of backup NPEs.

Check that stream type is not STREAM_BLUETOOTH_SCO before writting to settings.

15 years agoFix global ref leak in android.media.AudioRecord. Delete global refs
Jean-Michel Trivi [Fri, 17 Jul 2009 19:05:31 +0000 (12:05 -0700)]
Fix global ref leak in android.media.AudioRecord. Delete global refs
to the native AudioRecord pointer and the callback cookie (for native
to Java calls) in the finalize() function and when an error occurs
during the allocation of the native resources.

15 years agoMerge change 7707 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 18:50:51 +0000 (11:50 -0700)]
Merge change 7707 into donut

* changes:
  * scale surface view's canvas   This will not affect GL/Video views as they're directly using surfce but not canvas.

15 years agoMerge change 7696 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 18:04:06 +0000 (11:04 -0700)]
Merge change 7696 into donut

* changes:
  add hidden Options field for native allocations

15 years agoMerge change 7511 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 17:20:43 +0000 (10:20 -0700)]
Merge change 7511 into donut

* changes:
  Support addPkcs12Keystore function in CertTool library.