OSDN Git Service
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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
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. ! ?
Charles Chen [Fri, 26 Jun 2009 22:32:46 +0000 (15:32 -0700)]
Adding implementation of IPA to the TextToSpeech.java
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.
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.
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
Christopher Tate [Fri, 26 Jun 2009 21:41:15 +0000 (14:41 -0700)]
Trim some superfluous imports.
Charles Chen [Fri, 26 Jun 2009 21:41:55 +0000 (14:41 -0700)]
Adding in the playSilence method to TextToSpeech.java
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
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.
Joe Onorato [Fri, 26 Jun 2009 21:19:11 +0000 (17:19 -0400)]
Better (and less) logging from backup.
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.
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.
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.
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.
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.
Dan Egnor [Fri, 26 Jun 2009 20:20:02 +0000 (13:20 -0700)]
Use a long for restore token
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.
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.
Christopher Tate [Fri, 26 Jun 2009 18:41:26 +0000 (11:41 -0700)]
Add some error reporting & info to bmgr's output
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
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).
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.
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.
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.
Charles Chen [Fri, 26 Jun 2009 00:11:29 +0000 (17:11 -0700)]
Adding skeleton methods for IPA support.
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)
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.
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>
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.
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.
Joe Onorato [Fri, 26 Jun 2009 01:34:49 +0000 (21:34 -0400)]
Give the bmgr command an IRestoreObserver too.
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.
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.
Joe Onorato [Thu, 25 Jun 2009 22:29:18 +0000 (18:29 -0400)]
Make the BackupHelperDispatcher properly handle multiple helpers.
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.
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.
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.
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.
Charles Chen [Thu, 25 Jun 2009 22:58:59 +0000 (15:58 -0700)]
Adding splitting to the TTS to guard against extremely long strings.
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.
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.
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
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.
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.
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.
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.
Grace Kloba [Thu, 25 Jun 2009 21:43:53 +0000 (14:43 -0700)]
Need to write the correct float math.
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
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.
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.
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.
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.
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
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.
Android (Google) Code Review [Thu, 25 Jun 2009 20:12:30 +0000 (13:12 -0700)]
Merge change 5239 into donut
* changes:
Fix SMS Ack.
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()
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[]).
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.
Romain Guy [Thu, 25 Jun 2009 20:01:55 +0000 (13:01 -0700)]
Fixes #
1940605. RelativeLayout was swapping horizontal and vertical
dependencies.
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.
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.
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.
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
Dan Egnor [Thu, 25 Jun 2009 16:28:29 +0000 (09:28 -0700)]
Switch the default transport to GOOGLE.
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.
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.
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
Charles Chen [Thu, 25 Jun 2009 18:59:29 +0000 (11:59 -0700)]
Updating the TextToSpeech.java with skeleton methods.
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
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.
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.
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.
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
Mathias Agopian [Thu, 25 Jun 2009 06:59:16 +0000 (23:59 -0700)]
fix [
1942438] eglGetCurrentSurface() returns bogus value
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
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
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.
David Krause [Mon, 1 Jun 2009 11:51:43 +0000 (06:51 -0500)]
frameworks/base: CDMA voicemail support
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.
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.
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.
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
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.
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.)
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
Dianne Hackborn [Thu, 25 Jun 2009 02:03:15 +0000 (19:03 -0700)]
Add new APIs to LauncherActivity to be used elsewhere.
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.)
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