OSDN Git Service

android-x86/frameworks-base.git
15 years agoMerge change 4956 into donut
Android (Google) Code Review [Sat, 27 Jun 2009 02:29:55 +0000 (19:29 -0700)]
Merge change 4956 into donut

* changes:
  Tune the Reconnect back off timer.

15 years agoMerge change 5609 into donut
Android (Google) Code Review [Sat, 27 Jun 2009 02:22:38 +0000 (19:22 -0700)]
Merge change 5609 into donut

* changes:
  Update spinner's drawables. Clean up resources, pave the way for new animation.

15 years agoUpdate spinner's drawables. Clean up resources, pave the way for new animation.
Romain Guy [Fri, 26 Jun 2009 23:55:54 +0000 (16:55 -0700)]
Update spinner's drawables. Clean up resources, pave the way for new animation.

15 years agoTune the Reconnect back off timer.
Jaikumar Ganesh [Mon, 22 Jun 2009 18:08:07 +0000 (11:08 -0700)]
Tune the Reconnect back off timer.

Cap the max limit to 30 mins.
Re-register to the network once, when we reach the 30 min max.

15 years agoMerge change 5595 into donut
Android (Google) Code Review [Sat, 27 Jun 2009 00:44:42 +0000 (17:44 -0700)]
Merge change 5595 into donut

* changes:
  We might try to close the Vorbis file twice under certain circumstances. This fix nulls the mFile member so we don't try to close it twice. Bug 1904783.

15 years agoWe might try to close the Vorbis file twice under certain
Dave Sparks [Sat, 27 Jun 2009 00:24:22 +0000 (17:24 -0700)]
We might try to close the Vorbis file twice under certain
circumstances. This fix nulls the mFile member so we don't
try to close it twice. Bug 1904783.

15 years agoFixes #1946141. Introduce new caching API to control scaling.
Romain Guy [Fri, 26 Jun 2009 21:51:58 +0000 (14:51 -0700)]
Fixes #1946141. Introduce new caching API to control scaling.

This change fixes issues with existing applications that access the drawing cache
directly. The API now lets application choose whether they want to get a scaled
drawing cache or not. The framework relies on the scaled cache for quality
purposes.

15 years agoMerge change 5578 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 23:38:51 +0000 (16:38 -0700)]
Merge change 5578 into donut

* changes:
  Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser. In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION as we are replacing that with this.

15 years agoAdd new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
Mike LeBeau [Fri, 26 Jun 2009 23:02:13 +0000 (16:02 -0700)]
Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION
as we are replacing that with this.

15 years agoMerge change 5570 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 23:24:03 +0000 (16:24 -0700)]
Merge change 5570 into donut

* changes:
  Adding implementation of IPA to the TextToSpeech.java

15 years agoMerge change 5581 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 23:23:51 +0000 (16:23 -0700)]
Merge change 5581 into donut

* changes:
  Add a null check in an AutoCompleteTextView callback to prevent a crash.

15 years agoAdd a null check in an AutoCompleteTextView callback to prevent a crash.
Eric Fischer [Fri, 26 Jun 2009 23:14:59 +0000 (16:14 -0700)]
Add a null check in an AutoCompleteTextView callback to prevent a crash.

It looks like the drop down list had already been taken down before the
callback fired so it caused a null pointer exception.  In this case just
do nothing instead.

Bug 1927858

15 years agoFix the nested preferences title. Again.
Amith Yamasani [Fri, 26 Jun 2009 23:03:46 +0000 (16:03 -0700)]
Fix the nested preferences title. Again.

Made a mistake when refactoring just before checkin. ! ?

15 years agoAdding implementation of IPA to the TextToSpeech.java
Charles Chen [Fri, 26 Jun 2009 22:32:46 +0000 (15:32 -0700)]
Adding implementation of IPA to the TextToSpeech.java

15 years agoRespect android:allowClearUserData=false during restore
Christopher Tate [Fri, 26 Jun 2009 22:34:09 +0000 (15:34 -0700)]
Respect android:allowClearUserData=false during restore

Ordinarily we wipe the data of apps we are restoring.  This is problematic for
packages that expect that their data can never be wiped back to nothing,
especially system packages, so we now respect the android:allowClearUserData
manifest attribute.

15 years agoMerge change 5569 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 22:28:42 +0000 (15:28 -0700)]
Merge change 5569 into donut

* changes:
  Trim some superfluous imports.

15 years agoMerge change 5554 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 22:20:36 +0000 (15:20 -0700)]
Merge change 5554 into donut

* changes:
  Adding in the playSilence method to TextToSpeech.java

15 years agoTrim some superfluous imports.
Christopher Tate [Fri, 26 Jun 2009 21:41:15 +0000 (14:41 -0700)]
Trim some superfluous imports.

15 years agoAdding in the playSilence method to TextToSpeech.java
Charles Chen [Fri, 26 Jun 2009 21:41:55 +0000 (14:41 -0700)]
Adding in the playSilence method to TextToSpeech.java

15 years agoMerge change 5192 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 21:41:51 +0000 (14:41 -0700)]
Merge change 5192 into donut

* changes:
  make BitwiseInputStream.read return int

15 years agoMerge changes 5548,5549 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 21:19:59 +0000 (14:19 -0700)]
Merge changes 5548,5549 into donut

* changes:
  Better (and less) logging from backup.
  Add an extra null terminator.  String8::unlockBuffer is supposed to be doing this, but it's not and I can't figure out why.  This makes BackupHelperDispatcher able to read the keys correctly.

15 years agoBetter (and less) logging from backup.
Joe Onorato [Fri, 26 Jun 2009 21:19:11 +0000 (17:19 -0400)]
Better (and less) logging from backup.

15 years agoAdd an extra null terminator. String8::unlockBuffer is
Joe Onorato [Fri, 26 Jun 2009 21:18:01 +0000 (17:18 -0400)]
Add an extra null terminator.  String8::unlockBuffer is
supposed to be doing this, but it's not and I can't
figure out why.  This makes BackupHelperDispatcher able
to read the keys correctly.

Also, we weren't writing the data size.

15 years agoMerge change 5544 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 21:02:10 +0000 (14:02 -0700)]
Merge change 5544 into donut

* changes:
  Pipe all the camera callbacks to Java to facilitate the addition of new features. This will make it easy to add things like zoom callbacks without modifying the entire camera stack. Bug 1837832.

15 years agoMerge change 5483 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 20:46:07 +0000 (13:46 -0700)]
Merge change 5483 into donut

* changes:
  Expand support for different screen sizes.

15 years agoExpand support for different screen sizes.
Dianne Hackborn [Fri, 26 Jun 2009 02:48:04 +0000 (19:48 -0700)]
Expand support for different screen sizes.

Applications can now declare that they support small, normal, or
large screens.  Resource selection can also be done based on these
sizes.  By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes.  In either
case they can use <supports-screens> in their manifest to declare
what they actually support.

15 years agoPipe all the camera callbacks to Java to facilitate the addition
Dave Sparks [Fri, 26 Jun 2009 20:33:32 +0000 (13:33 -0700)]
Pipe all the camera callbacks to Java to facilitate the addition
of new features. This will make it easy to add things like zoom
callbacks without modifying the entire camera stack.
Bug 1837832.

15 years agoUse a long for restore token
Dan Egnor [Fri, 26 Jun 2009 20:20:02 +0000 (13:20 -0700)]
Use a long for restore token

15 years agoMerge change 5529 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 20:19:59 +0000 (13:19 -0700)]
Merge change 5529 into donut

* changes:
  Tweak the core and maximum pool sizes for AsyncTask.

15 years agoDon't crash in various ways when using backup services too early
Christopher Tate [Fri, 26 Jun 2009 18:49:18 +0000 (11:49 -0700)]
Don't crash in various ways when using backup services too early

BackupManager now no longer tries to use a null service binder if it's used
early during the boot process.  ActivityManagerService no longer tries to
dereference null pointers if bind/unbind semantics get out of step due to things
being run too early.

15 years agoAdd some error reporting & info to bmgr's output
Christopher Tate [Fri, 26 Jun 2009 18:41:26 +0000 (11:41 -0700)]
Add some error reporting & info to bmgr's output

15 years agoMerge change 5537 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 18:48:54 +0000 (11:48 -0700)]
Merge change 5537 into donut

* changes:
  Add a test for SharedPreferencesBackupHelper

15 years agoAdd a test for SharedPreferencesBackupHelper
Joe Onorato [Fri, 26 Jun 2009 18:45:25 +0000 (14:45 -0400)]
Add a test for SharedPreferencesBackupHelper

(which nobody had ever tested.  I like it when stuff
just works the first time).

15 years agoMerge change 5447 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 18:28:43 +0000 (11:28 -0700)]
Merge change 5447 into donut

* changes:
  Adding skeleton methods for IPA support.

15 years agoMerge change 5470 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 17:53:23 +0000 (10:53 -0700)]
Merge change 5470 into donut

* changes:
  Use the same interface in the TTS engine interface for setLanguage and loadLanguage. Adding function to check the support level for a language in TTS engine interface.

15 years agoTweak the core and maximum pool sizes for AsyncTask.
Romain Guy [Fri, 26 Jun 2009 17:34:20 +0000 (10:34 -0700)]
Tweak the core and maximum pool sizes for AsyncTask.

This change allows up to 5 AsyncTasks to run concurrently. Before, only 1 task
could run at a time, which was too limited. This change also bumps up the maximum
number of tasks that can be created; this large number is not an issue because
tasks are queued up and run only 5 at a time.

15 years agoAdding skeleton methods for IPA support.
Charles Chen [Fri, 26 Jun 2009 00:11:29 +0000 (17:11 -0700)]
Adding skeleton methods for IPA support.

15 years agoTest that we correctly back up an empty file.
Joe Onorato [Fri, 26 Jun 2009 16:57:45 +0000 (12:57 -0400)]
Test that we correctly back up an empty file.

(It turns out that we do.  It didn't used to work, I'm not
sure what changed)

15 years agoUse the same interface in the TTS engine interface for setLanguage and loadLanguage.
Jean-Michel Trivi [Fri, 26 Jun 2009 01:37:55 +0000 (18:37 -0700)]
Use the same interface in the TTS engine interface for setLanguage and loadLanguage.
Adding function to check the support level for a language in TTS engine interface.

15 years agoframework: process: Set the control group of a thread to the background group
San Mehat [Fri, 26 Jun 2009 15:38:13 +0000 (08:38 -0700)]
framework: process: Set the control group of a thread to the background group
if the priority is logically-lower than ANDROID_PRIORITY_BACKGROUND

Signed-off-by: San Mehat <san@google.com>
15 years agoCDMA incoming MMS fixes
David Krause [Tue, 16 Jun 2009 17:41:16 +0000 (12:41 -0500)]
CDMA incoming MMS fixes

Need to correctly interpret WAP Datagram data. Specifically the
source and destination ports are only included in the 1st segment,
not subsequent segments but the original implementation was looking
for the ports for all segments.

15 years agoAdd some helpful tests scripts for backup and make bmgr restore wait until the backup...
Joe Onorato [Fri, 26 Jun 2009 03:53:29 +0000 (23:53 -0400)]
Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done.

15 years agoGive the bmgr command an IRestoreObserver too.
Joe Onorato [Fri, 26 Jun 2009 01:34:49 +0000 (21:34 -0400)]
Give the bmgr command an IRestoreObserver too.

15 years agoAdd a new IRestoreObserver callback class to the restore process
Christopher Tate [Fri, 26 Jun 2009 01:03:43 +0000 (18:03 -0700)]
Add a new IRestoreObserver callback class to the restore process

The observer is told when restore begins how many packages are being restored.
It then gets an onUpdate() call telling it that the Nth package is now
undergoing restore.  Ultimately, its restoreFinished() callback is invoked,
passing a simple success/fail error code, to let it know that the restore
operation has concluded.

15 years agoMerge change 5459 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 01:04:05 +0000 (18:04 -0700)]
Merge change 5459 into donut

* changes:
  Make the BackupHelperDispatcher properly handle multiple helpers.

15 years agoMake the BackupHelperDispatcher properly handle multiple helpers.
Joe Onorato [Thu, 25 Jun 2009 22:29:18 +0000 (18:29 -0400)]
Make the BackupHelperDispatcher properly handle multiple helpers.

15 years agoMerge change 5444 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 00:35:59 +0000 (17:35 -0700)]
Merge change 5444 into donut

* changes:
  In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received.

15 years agoIn the native layer for the TTS service, delete the data allocated for the callback...
Jean-Michel Trivi [Fri, 26 Jun 2009 00:03:51 +0000 (17:03 -0700)]
In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received.

15 years agoKeep track of backup state independently for each transport
Christopher Tate [Thu, 25 Jun 2009 23:03:14 +0000 (16:03 -0700)]
Keep track of backup state independently for each transport

Backup transports now provide the Backup Manager with a suggested name with
which it can disambiguate any transport-specific bookkeeping that it needs to
maintain.  The Manager keeps separate application backup 'state blobs' for each
transport now, preventing things from getting out of step if the device is
switched among multiple transports.

Also, the metadata backup agent is always invoked now on each backup pass.  This
is cheap when there is nothing to do, but also strongly ensures that we never
wind up in a situation where a given transport destination has not been given
all of the metadata necessary for the backup set.

15 years agoMerge change 5434 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 23:08:14 +0000 (16:08 -0700)]
Merge change 5434 into donut

* changes:
  Adding splitting to the TTS to guard against extremely long strings.

15 years agoAdding splitting to the TTS to guard against extremely long strings.
Charles Chen [Thu, 25 Jun 2009 22:58:59 +0000 (15:58 -0700)]
Adding splitting to the TTS to guard against extremely long strings.

15 years agoMerge change 5428 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 22:28:10 +0000 (15:28 -0700)]
Merge change 5428 into donut

* changes:
  Improve handling of FILL_PARENT in RelativeLayout.

15 years agoImprove handling of FILL_PARENT in RelativeLayout.
Romain Guy [Thu, 25 Jun 2009 22:26:49 +0000 (15:26 -0700)]
Improve handling of FILL_PARENT in RelativeLayout.

This was causing trouble with VideoView, in Gallery in particular.

15 years agoMerge change 5350 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 22:09:44 +0000 (15:09 -0700)]
Merge change 5350 into donut

* changes:
  move ui/Time.cpp to core/jni, since this is the only place it is used

15 years agoMerge change 5414 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 21:58:51 +0000 (14:58 -0700)]
Merge change 5414 into donut

* changes:
  Add caching of the speech rate and language in android.speech.tts.TextToSpeech so the speech params can be passed along in calls for text synthesis.

15 years agoMerge change 5417 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 21:49:23 +0000 (14:49 -0700)]
Merge change 5417 into donut

* changes:
  Fixes #1943309. RelativeLayout was confused by gravities.

15 years agoFixes #1943309. RelativeLayout was confused by gravities.
Romain Guy [Thu, 25 Jun 2009 21:47:14 +0000 (14:47 -0700)]
Fixes #1943309. RelativeLayout was confused by gravities.

RelativeLayout, when measured with AT_MOST, was applying the gravity on its
children way too early. This caused the RL to set its measured size to
a value that was larger than necessary. This fixes the issue by deferring
the positioning of the gravity-dependent children until the dimensions
of the layout are known.

15 years agoMerge change 5413 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 21:44:38 +0000 (14:44 -0700)]
Merge change 5413 into donut

* changes:
  Need to write the correct float math.

15 years agoNeed to write the correct float math.
Grace Kloba [Thu, 25 Jun 2009 21:43:53 +0000 (14:43 -0700)]
Need to write the correct float math.

15 years agomove ui/Time.cpp to core/jni, since this is the only place it is used
Mathias Agopian [Thu, 25 Jun 2009 06:12:06 +0000 (23:12 -0700)]
move ui/Time.cpp to core/jni, since this is the only place it is used

15 years agoAdd caching of the speech rate and language in android.speech.tts.TextToSpeech
Jean-Michel Trivi [Thu, 25 Jun 2009 21:29:15 +0000 (14:29 -0700)]
Add caching of the speech rate and language in android.speech.tts.TextToSpeech
so the speech params can be passed along in calls for text synthesis.

15 years agoMerge change 5397 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 20:32:52 +0000 (13:32 -0700)]
Merge change 5397 into donut

* changes:
  Fixes #1943915. Prevents circular dependency exception when using several NO_ID views.

15 years agoFixes #1943915. Prevents circular dependency exception when using several NO_ID
Romain Guy [Thu, 25 Jun 2009 20:31:57 +0000 (13:31 -0700)]
Fixes #1943915. Prevents circular dependency exception when using several NO_ID
views.

15 years agoMerge change 5385 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 20:22:57 +0000 (13:22 -0700)]
Merge change 5385 into donut

* changes:
  Updating the TextToSpeech.java with skeleton methods.

15 years agoMerge change 5352 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 20:22:55 +0000 (13:22 -0700)]
Merge change 5352 into donut

* changes:
  fix [1942438] eglGetCurrentSurface() returns bogus value

15 years agoMerge change 5390 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 20:18:24 +0000 (13:18 -0700)]
Merge change 5390 into donut

* changes:
  When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.

15 years agoMerge change 5239 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 20:12:30 +0000 (13:12 -0700)]
Merge change 5239 into donut

* changes:
  Fix SMS Ack.

15 years agoMerge change 5389 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 20:11:18 +0000 (13:11 -0700)]
Merge change 5389 into donut

* changes:
  Skip spaces and tabs in readProcLines()

15 years agoFix SMS Ack.
jsh [Tue, 23 Jun 2009 16:50:44 +0000 (09:50 -0700)]
Fix SMS Ack.

There were a few places where we were not sending SMS ack.  This change fixes that, and helps ensure that we don't miss any others.

Also fix a bug I introduced in RIL.java for CDMA SMS ACK (it uses RIL_CDMA_SMS_Ack and not int[]).

15 years agoMerge change 5394 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 20:02:50 +0000 (13:02 -0700)]
Merge change 5394 into donut

* changes:
  Fixes #1940605. RelativeLayout was swapping horizontal and vertical dependencies.

15 years agoFixes #1940605. RelativeLayout was swapping horizontal and vertical
Romain Guy [Thu, 25 Jun 2009 20:01:55 +0000 (13:01 -0700)]
Fixes #1940605. RelativeLayout was swapping horizontal and vertical
dependencies.

15 years agoMerge change 4739 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 19:26:02 +0000 (12:26 -0700)]
Merge change 4739 into donut

* changes:
  Add PPTP, L2TP/IPSec preshared key and other fixes.

15 years agoWhen mPreventDrag is true, don't respond to long press. This should prevent the conte...
Grace Kloba [Thu, 25 Jun 2009 19:25:30 +0000 (12:25 -0700)]
When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.

15 years agoSkip spaces and tabs in readProcLines()
Amith Yamasani [Thu, 25 Jun 2009 18:57:40 +0000 (11:57 -0700)]
Skip spaces and tabs in readProcLines()

This is to fix a problem in the parsing of /proc/pid/status file.

15 years agoMerge change 5288 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 19:14:53 +0000 (12:14 -0700)]
Merge change 5288 into donut

* changes:
  Invoke getSystem.updateConfiguration when binding an application to update config changes in Resources.mSystem Since Resources is preloaded in the zygote, system resources in Resources need to be updated with config changes every time an application is started

15 years agoSwitch the default transport to GOOGLE.
Dan Egnor [Thu, 25 Jun 2009 16:28:29 +0000 (09:28 -0700)]
Switch the default transport to GOOGLE.

15 years agoMerge change 5386 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 19:05:08 +0000 (12:05 -0700)]
Merge change 5386 into donut

* changes:
  Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is targeted.

15 years agoFixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is
Romain Guy [Thu, 25 Jun 2009 19:03:56 +0000 (12:03 -0700)]
Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is
targeted.

15 years agoAdd PPTP, L2TP/IPSec preshared key and other fixes.
Hung-ying Tyan [Fri, 19 Jun 2009 11:45:38 +0000 (19:45 +0800)]
Add PPTP, L2TP/IPSec preshared key and other fixes.

* Changes
  + Add PptpProfile.java, PptpService.java.
  + Add L2tpIpsecPskProfile.java
  + Add PPTP and L2TP_IPSEC_PSK entries in VpnType.java.
  + Add the secret option to L2tpProfile.java and have L2tpIpsecProfile
    extend it.
  + Add MtpdHelper to send common PPP options.
  + Add getGatewayIp() to VpnService().
  + Revise VpnService.reallyGetHostIp().

  Patch Set 6, 7, 8:
  + Add L2TP secret flag in L2tpProfile.

  Patch Set 9:
  + Add description to VpnType.

  Patch Set 11:
  + Pass ipparam to mtpd.

  Patch Set 12:
  + Add L2TP secret support
  + Fix string constants

15 years agoUpdating the TextToSpeech.java with skeleton methods.
Charles Chen [Thu, 25 Jun 2009 18:59:29 +0000 (11:59 -0700)]
Updating the TextToSpeech.java with skeleton methods.

15 years agoInvoke getSystem.updateConfiguration when binding an application to
Suchi Amalapurapu [Thu, 25 Jun 2009 00:02:25 +0000 (17:02 -0700)]
Invoke getSystem.updateConfiguration when binding an application to
update config changes in Resources.mSystem
Since Resources is preloaded in the zygote, system resources in Resources
need to be updated with config changes every time an application is started

15 years agoAdd ZoomDensity so that we can change the desired default scale.
Grace Kloba [Thu, 25 Jun 2009 18:20:51 +0000 (11:20 -0700)]
Add ZoomDensity so that we can change the desired default scale.

Fix a bug where we didn't adjust the viewport scale according to our density.

15 years agoMerge change 5300 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 17:20:31 +0000 (10:20 -0700)]
Merge change 5300 into donut

* changes:
  Using a sendBroadcast to notify interested parties of when the TTS queue has finished processing.

15 years agoMerge change 5351 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 07:46:17 +0000 (00:46 -0700)]
Merge change 5351 into donut

* changes:
  Add a method to Process to get uid for a pid.

15 years agoMerge change 5344 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 07:09:18 +0000 (00:09 -0700)]
Merge change 5344 into donut

* changes:
  frameworks/base: CDMA voicemail support

15 years agofix [1942438] eglGetCurrentSurface() returns bogus value
Mathias Agopian [Thu, 25 Jun 2009 06:59:16 +0000 (23:59 -0700)]
fix [1942438] eglGetCurrentSurface() returns bogus value

15 years agoMerge change 5339 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 06:57:59 +0000 (23:57 -0700)]
Merge change 5339 into donut

* changes:
  Fix intermittent crash related to call waiting

15 years agoMerge change 5329 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 06:39:07 +0000 (23:39 -0700)]
Merge change 5329 into donut

* changes:
  frameworks/base - CDMA settings additions

15 years agoAdd a method to Process to get uid for a pid.
Amith Yamasani [Thu, 25 Jun 2009 06:18:15 +0000 (23:18 -0700)]
Add a method to Process to get uid for a pid.

Use the uids to track native processes. Cache the uids to avoid
checking /proc every time.

15 years agoframeworks/base: CDMA voicemail support
David Krause [Mon, 1 Jun 2009 11:51:43 +0000 (06:51 -0500)]
frameworks/base: CDMA voicemail support

15 years agoFix intermittent crash related to call waiting
David Krause [Mon, 15 Jun 2009 02:05:41 +0000 (21:05 -0500)]
Fix intermittent crash related to call waiting

Previously, when call waiting is ignored by user or timed out
by PhoneApp, the connection object for call waiting does not
release the wake lock. It causes the phone process to crash
randomly.

The fix is to release the wake lock when call waiting is
ignored by user or timed out by PhoneApp.

15 years agoMerge change 5199 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 03:33:11 +0000 (20:33 -0700)]
Merge change 5199 into donut

* changes:
  Only remove client after the hardware is teared down, so a new client is rejected before old client is done.

15 years agoMerge change 5319 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 03:29:21 +0000 (20:29 -0700)]
Merge change 5319 into donut

* changes:
  Add new APIs to LauncherActivity to be used elsewhere.

15 years agoframeworks/base - CDMA settings additions
David Krause [Sat, 13 Jun 2009 23:01:13 +0000 (18:01 -0500)]
frameworks/base - CDMA settings additions

These changes are the frameworks/base portion of CDMA UI changes.

Five settings are added:
   - In-call DTMF type (burst or long)
   - Emergency tone type
   - CDMA auto-retry
   - Hearing Aid Compatibility (on/off)
   - TTY mode

15 years agoOnly remove client after the hardware is teared down, so a new client
Chih-Chung Chang [Wed, 24 Jun 2009 11:59:31 +0000 (19:59 +0800)]
Only remove client after the hardware is teared down, so a new client
is rejected before old client is done.

Also check mUsers in all cases to make sure there are no existing client.

15 years agoAdd includes to enable host C++ tools to compile with GCC 4.4
Jack Palevich [Thu, 25 Jun 2009 02:27:30 +0000 (19:27 -0700)]
Add includes to enable host C++ tools to compile with GCC 4.4

Otherwise printf is undeclared. These files worked with earlier versions
of gcc because either cstdio or stdio.h was being included by some other
header file. But this was not guaranteed behavior, so with GCC 4.4 there
are errors. The fix is backwards compatible with earlier versions of GCC.

This change includes either <cstdio> or <stdio.h> whichever looks more
appropriate given the other headers included by the given source file.

Note, I'm using "GCC" to mean Gnu Compile Collection, as this problem is
specific to C++ source files. (Presumably a C++-specific header file
changed to no longer include cstdio.)

15 years agoMerge change 5302 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 02:14:17 +0000 (19:14 -0700)]
Merge change 5302 into donut

* changes:
  Add includes to enable host C++ tools to compile with GCC 4.4

15 years agoAdd new APIs to LauncherActivity to be used elsewhere.
Dianne Hackborn [Thu, 25 Jun 2009 02:03:15 +0000 (19:03 -0700)]
Add new APIs to LauncherActivity to be used elsewhere.

15 years agoAdd includes to enable host C++ tools to compile with GCC 4.4
Jack Palevich [Thu, 25 Jun 2009 02:01:27 +0000 (19:01 -0700)]
Add includes to enable host C++ tools to compile with GCC 4.4

Otherwise printf is undeclared. These files worked with earlier versions
of gcc because either cstdio or stdio.h was being included by some other
header file. But this was not guaranteed behavior, so with GCC 4.4 there
are errors. The fix is backwards compatible with earlier versions of GCC.

This change includes either <cstdio> or <stdio.h> whichever looks more
appropriate given the other headers included by the given source file.

Note, I'm using "GCC" to mean Gnu Compile Collection, as this problem is
specific to C++ source files. (Presumably a C++-specific header file
changed to no longer include cstdio.)

15 years agoMerge change 5317 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 01:46:59 +0000 (18:46 -0700)]
Merge change 5317 into donut

* changes:
  Start backing up wallpaper