OSDN Git Service
Romain Guy [Thu, 2 Jul 2009 00:20:08 +0000 (17:20 -0700)]
Cleanup a bunch of warnings in app widgets code.
Android (Google) Code Review [Wed, 1 Jul 2009 21:12:10 +0000 (14:12 -0700)]
Merge change 5962 into donut
* changes:
SimRecords.getServiceProviderName() always returned null.
Android (Google) Code Review [Wed, 1 Jul 2009 21:04:32 +0000 (14:04 -0700)]
Merge change 5940 into donut
* changes:
Add CLDR data/formats for newly-translated locales.
jsh [Wed, 1 Jul 2009 19:55:28 +0000 (12:55 -0700)]
SimRecords.getServiceProviderName() always returned null.
Fixes bug
1955060. spn was defined in both SimRecords and base class IccRecords.
Android (Google) Code Review [Wed, 1 Jul 2009 19:53:04 +0000 (12:53 -0700)]
Merge change 5906 into donut
* changes:
resolve complex value in application context instead of system context.
Android (Google) Code Review [Wed, 1 Jul 2009 19:52:39 +0000 (12:52 -0700)]
Merge change 5950 into donut
* changes:
Fix memory leaks in system_server unlink DeathRecipients in a whole bunch of places to avoid memory leaks
Suchi Amalapurapu [Wed, 1 Jul 2009 04:36:16 +0000 (21:36 -0700)]
Fix memory leaks in system_server
unlink DeathRecipients in a whole bunch of places to avoid memory leaks
Christopher Tate [Wed, 1 Jul 2009 19:34:29 +0000 (12:34 -0700)]
Revamp backup scheduling policy
We now schedule a periodic check of pending backups; if any apps have requested
a backup since the last check, we perform all of the pending backups. The
periodic backup scheduling matches the enable/disable state of the backup
manager; while backups are disabled entirely there are no periodic wakeups.
The period is set here to one hour. If an external caller (transport, the
'bmgr' command line tool, etc) requests an immediate backup pass, that is
performed and then the periodic backup check is rescheduled using that pass as
the starting point of a new interval.
Christopher Tate [Wed, 1 Jul 2009 18:43:53 +0000 (11:43 -0700)]
Use secure settings for backup enable / transport selection
Eric Fischer [Wed, 1 Jul 2009 18:10:35 +0000 (11:10 -0700)]
Add CLDR data/formats for newly-translated locales.
Satish Sampath [Wed, 1 Jul 2009 18:06:24 +0000 (19:06 +0100)]
Fix build break by adding an @hide javadoc comment.
Satish Sampath [Wed, 1 Jul 2009 16:48:42 +0000 (17:48 +0100)]
Make search UI open up quicker to the user.
On invoking the search UI, the drop down list box with past queries and shortcut items
appears after a few hundreds of milliseconds on screen. This was because we were
displaying the drop down within the onFilterCompleted callback after the list box filtered
the items based on the given query text. While that code path is necessary, for the first
invocation of the search dialog with an empty query we can show the list box before the
text stuff happens. This change does that, issuing an async request to show the drop
down after pending events have been processed.
Without this change, on an average it took 350ms for the code to show the drop down.
With this change, on an average it takes 150ms.
Android (Google) Code Review [Wed, 1 Jul 2009 16:16:48 +0000 (09:16 -0700)]
Merge change 5616 into donut
* changes:
Revise VpnService to use new vpn.* properties.
Android (Google) Code Review [Wed, 1 Jul 2009 15:51:31 +0000 (08:51 -0700)]
Merge change 5879 into donut
* changes:
Represent new searchSettingsDescription attribute on searchables in SearchableInfo.
Mitsuru Oshima [Wed, 1 Jul 2009 07:10:43 +0000 (00:10 -0700)]
resolve complex value in application context instead of system context.
Android (Google) Code Review [Wed, 1 Jul 2009 01:44:12 +0000 (18:44 -0700)]
Merge change 5878 into donut
* changes:
Add new attribute 'searchSettingsDescription' for use within an app's searchable.xml. This attribute defines the string to be shown as the description a searchable in the 'searchable items' section of system search settings.
Mike LeBeau [Wed, 1 Jul 2009 01:27:40 +0000 (18:27 -0700)]
Represent new searchSettingsDescription attribute on searchables in
SearchableInfo.
Mike LeBeau [Wed, 1 Jul 2009 01:26:21 +0000 (18:26 -0700)]
Add new attribute 'searchSettingsDescription' for use within an app's
searchable.xml. This attribute defines the string to be shown as the
description a searchable in the 'searchable items' section of system
search settings.
Android (Google) Code Review [Tue, 30 Jun 2009 23:18:59 +0000 (16:18 -0700)]
Merge change 5854 into donut
* changes:
Run backups at background priority
Christopher Tate [Tue, 30 Jun 2009 23:11:49 +0000 (16:11 -0700)]
Run backups at background priority
Android (Google) Code Review [Tue, 30 Jun 2009 22:44:07 +0000 (15:44 -0700)]
Merge change 5845 into donut
* changes:
Always clear the TextView drag state whenever a touch begins.
Eric Fischer [Tue, 30 Jun 2009 22:22:51 +0000 (15:22 -0700)]
Always clear the TextView drag state whenever a touch begins.
Apparently it can sometimes miss a touch release, which would prevent
the longpress menu from appearing if the location of the new touch was
too far from the location of the previous touch.
Bug
1673223
Android (Google) Code Review [Tue, 30 Jun 2009 22:16:38 +0000 (15:16 -0700)]
Merge change 5810 into donut
* changes:
Fix bug
1930055 of NullPointerException.
Android (Google) Code Review [Tue, 30 Jun 2009 22:05:56 +0000 (15:05 -0700)]
Merge change 5804 into donut
* changes:
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.
Android (Google) Code Review [Tue, 30 Jun 2009 21:35:59 +0000 (14:35 -0700)]
Merge change 5833 into donut
* changes:
Fix nit on length of flag constant.
lknguyen [Tue, 30 Jun 2009 20:52:45 +0000 (13:52 -0700)]
Fix nit on length of flag constant.
Android (Google) Code Review [Tue, 30 Jun 2009 21:08:30 +0000 (14:08 -0700)]
Merge change 5807 into donut
* changes:
Fixing synth to file to use the speech queue.
Android (Google) Code Review [Tue, 30 Jun 2009 21:04:55 +0000 (14:04 -0700)]
Merge change 5829 into donut
* changes:
Fix issue #
1673793: Theme styles don't apply.
Android (Google) Code Review [Tue, 30 Jun 2009 20:48:14 +0000 (13:48 -0700)]
Merge change 5750 into donut
* changes:
Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
Dianne Hackborn [Sat, 27 Jun 2009 01:16:48 +0000 (18:16 -0700)]
Implement issue #
1943927 (need notification in status bar when adb is active)
This is a little hacky -- we just assume that if adb is enabled and power
is connected through usb, then it is active.
The icons and text are temporary until final design is provided.
Android (Google) Code Review [Tue, 30 Jun 2009 20:34:45 +0000 (13:34 -0700)]
Merge change 5826 into donut
* changes:
Fix NullPointerException in NinePatch constructor
Dianne Hackborn [Tue, 30 Jun 2009 20:27:30 +0000 (13:27 -0700)]
Fix issue #
1673793: Theme styles don't apply.
It turns out this was not a problem in the resource code at all. Rather,
the system process has a cache of pre-loaded attributes it uses to avoid
continually reloading things as it needs them. Well it turns out this
cache wasn't flushed after a package was uninstalled or a configuration
changed, so you could re-install an app where you change its style resources
so its theme now points to one that is inconsistent in the cache.
This is mostly a problem for developers, where they continually install
new versions of an app where resources have changed. This could possibly
show up when updating an app on a normal phone, although the problem would
eventually correct itself since this cache uses weak references.
Anyway, the cache is now reworked to be flushed appropriately.
This change also includes an update to aapt to be able to dump the
contents of bags in resources.
Android (Google) Code Review [Tue, 30 Jun 2009 20:22:15 +0000 (13:22 -0700)]
Merge change 5739 into donut
* changes:
Check to make sure the Java camera object is still valid on the callback from native. Omitted from previous fix. Bug
1936850.
Android (Google) Code Review [Tue, 30 Jun 2009 20:20:44 +0000 (13:20 -0700)]
Merge change 5806 into donut
* changes:
Use additional functions to collect more memory information data points.
Dave Sparks [Tue, 30 Jun 2009 02:03:33 +0000 (19:03 -0700)]
Check to make sure the Java camera object is still valid on the
callback from native. Omitted from previous fix. Bug
1936850.
Phil Dubach [Tue, 30 Jun 2009 03:34:13 +0000 (20:34 -0700)]
Fix NullPointerException in NinePatch constructor
NinePatch.mPaint may be null and most methods in this class handle
that case properly. However, the constructor which derives a new
NinePatch from an existing instance assumes that mPaint is non-null.
This results in an unexpected NullPointerException, for example when
attempting to call NinePatchDrawable.mutate() on an instance that was
created from a resource.
Small unrelated fix in same file: Remove unused private mRect member.
Christopher Tate [Tue, 30 Jun 2009 19:47:33 +0000 (12:47 -0700)]
Tighten up the metadata backup logic
We now store the app version codes and and global OS incremental version name in
the PM backup state and the actual backup record. We then use that information
to trigger a re-backup of the metadata if the OS revision changes in any way, or
to back up single apps' metadata if we notice that they've been upgraded.
Android (Google) Code Review [Tue, 30 Jun 2009 19:40:23 +0000 (12:40 -0700)]
Merge change 5817 into donut
* changes:
Replace indeterminate progress animated asset with new ones
Romain Guy [Tue, 30 Jun 2009 19:39:18 +0000 (12:39 -0700)]
Replace indeterminate progress animated asset with new ones
Android (Google) Code Review [Tue, 30 Jun 2009 19:17:48 +0000 (12:17 -0700)]
Merge change 5732 into donut
* changes:
Fix assertContentsInOrder (bug
1790350).
Charles Chen [Tue, 30 Jun 2009 19:01:12 +0000 (12:01 -0700)]
Fixing synth to file to use the speech queue.
John Wang [Tue, 30 Jun 2009 19:01:35 +0000 (12:01 -0700)]
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
Guang Zhu [Tue, 30 Jun 2009 18:56:13 +0000 (11:56 -0700)]
Use additional functions to collect more memory information data points.
Chris Palmer [Tue, 30 Jun 2009 18:50:50 +0000 (11:50 -0700)]
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.
Android (Google) Code Review [Tue, 30 Jun 2009 18:41:05 +0000 (11:41 -0700)]
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.
Yu Shan Emily Lau [Thu, 25 Jun 2009 22:11:04 +0000 (15:11 -0700)]
Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration.
Android (Google) Code Review [Tue, 30 Jun 2009 18:01:10 +0000 (11:01 -0700)]
Merge change 5792 into donut
* changes:
Fix typo introduced during variable cleanup.
Android (Google) Code Review [Tue, 30 Jun 2009 17:57:18 +0000 (10:57 -0700)]
Merge change 5787 into donut
* changes:
Fix http://code.google.com/p/android/issues/detail?id=3059
Jaikumar Ganesh [Tue, 30 Jun 2009 17:53:16 +0000 (10:53 -0700)]
Fix typo introduced during variable cleanup.
This prevented data connection being established after voice calls on 2G networks.
Wu-cheng Li [Tue, 23 Jun 2009 15:37:36 +0000 (23:37 +0800)]
Allow setPreviewDisplay after startPreview.
Marco Nelissen [Tue, 30 Jun 2009 17:32:00 +0000 (10:32 -0700)]
Fix code.google.com/p/android/issues/detail?id=3059
Android (Google) Code Review [Tue, 30 Jun 2009 16:55:37 +0000 (09:55 -0700)]
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.
Jean-Michel Trivi [Tue, 30 Jun 2009 16:36:08 +0000 (09:36 -0700)]
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.
Android (Google) Code Review [Tue, 30 Jun 2009 14:06:50 +0000 (07:06 -0700)]
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.
lknguyen [Tue, 30 Jun 2009 03:50:25 +0000 (20:50 -0700)]
Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
Android (Google) Code Review [Tue, 30 Jun 2009 03:09:27 +0000 (20:09 -0700)]
Merge change 5718 into donut
* changes:
Fix NullPointerException in DrawableContainer.mutate()
Tammo Spalink [Sun, 28 Jun 2009 07:44:10 +0000 (15:44 +0800)]
eliminate byte-typed cdma sms fields
Android (Google) Code Review [Tue, 30 Jun 2009 02:22:11 +0000 (19:22 -0700)]
Merge change 5485 into donut
* changes:
cdma sms is91 support
Android (Google) Code Review [Tue, 30 Jun 2009 02:22:05 +0000 (19:22 -0700)]
Merge change 5359 into donut
* changes:
fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
Christopher Tate [Tue, 30 Jun 2009 01:52:55 +0000 (18:52 -0700)]
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.
Phil Dubach [Mon, 29 Jun 2009 23:57:46 +0000 (16:57 -0700)]
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.
Karl Rosaen [Tue, 30 Jun 2009 01:06:40 +0000 (18:06 -0700)]
Fix assertContentsInOrder (bug
1790350).
if we ever get an updated Lists class that includes a
Lists.newArrayList(Iterable<?>
implementation, that would work too.
Jean-Michel Trivi [Tue, 30 Jun 2009 00:31:05 +0000 (17:31 -0700)]
Fix bug where the default TTS Service country is initialized to the default language.
Android (Google) Code Review [Tue, 30 Jun 2009 00:26:32 +0000 (17:26 -0700)]
Merge change 5711 into donut
* changes:
Adding in TTS service support for language query and level of support.
Android (Google) Code Review [Tue, 30 Jun 2009 00:13:49 +0000 (17:13 -0700)]
Merge change 5656 into donut
* changes:
Generate key events for actions sent to generic input connections.
Grace Kloba [Tue, 30 Jun 2009 00:03:42 +0000 (17:03 -0700)]
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.
Jean-Michel Trivi [Mon, 29 Jun 2009 23:38:47 +0000 (16:38 -0700)]
Adding in TTS service support for language query and level of support.
Android (Google) Code Review [Mon, 29 Jun 2009 23:26:57 +0000 (16:26 -0700)]
Merge change 5699 into donut
* changes:
Adding status return codes for TTS calls.
Charles Chen [Mon, 29 Jun 2009 22:52:47 +0000 (15:52 -0700)]
Adding status return codes for TTS calls.
Android (Google) Code Review [Mon, 29 Jun 2009 23:12:24 +0000 (16:12 -0700)]
Merge change 5669 into donut
* changes:
Fix setting of the APN type.
Android (Google) Code Review [Mon, 29 Jun 2009 23:09:44 +0000 (16:09 -0700)]
Merge change 5701 into donut
* changes:
Expose in SynthProxy the query for the TTS supported and current language.
Jean-Michel Trivi [Mon, 29 Jun 2009 22:55:05 +0000 (15:55 -0700)]
Expose in SynthProxy the query for the TTS supported and current language.
Android (Google) Code Review [Mon, 29 Jun 2009 22:44:19 +0000 (15:44 -0700)]
Merge change 5645 into donut
* changes:
Added a new operation mode where user can launch all tests under a folder from test app ui.
Android (Google) Code Review [Mon, 29 Jun 2009 22:35:11 +0000 (15:35 -0700)]
Merge change 5694 into donut
* changes:
Implement persistent enable/disable of the backup manager
Android (Google) Code Review [Mon, 29 Jun 2009 22:34:05 +0000 (15:34 -0700)]
Merge change 5692 into donut
* changes:
Adjust the character picker layout a little so it will fit on the screen.
Christopher Tate [Mon, 29 Jun 2009 21:56:28 +0000 (14:56 -0700)]
Implement persistent enable/disable of the backup manager
Backup & restore is still enabled by default, but with the expectation that it
will be enabled during the course of the Setup Wizard or some other privileged
entity that has notified the user about the ramifications. While disabled,
data-changed notices will still be collected, but no backup pass will be
scheduled. When the backup manager is later enabled, any pending data-changed
notices will then be processed and the apps invoked for backup.
Eric Fischer [Mon, 29 Jun 2009 22:30:11 +0000 (15:30 -0700)]
Adjust the character picker layout a little so it will fit on the screen.
Previously when there were three rows of characters, the Cancel button
would hang off the edge a little.
Bug
1747709
Guang Zhu [Mon, 29 Jun 2009 17:40:55 +0000 (10:40 -0700)]
Added a new operation mode where user can launch all tests under a folder from test app ui.
Android (Google) Code Review [Mon, 29 Jun 2009 21:29:23 +0000 (14:29 -0700)]
Merge change 5684 into donut
* changes:
Fixes #
1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
Romain Guy [Mon, 29 Jun 2009 21:28:29 +0000 (14:28 -0700)]
Fixes #
1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
Also bumps up the cache's number of Nodes.
Android (Google) Code Review [Mon, 29 Jun 2009 21:26:31 +0000 (14:26 -0700)]
Merge change 5680 into donut
* changes:
Fixes #
1949502. Prevents an NPE in View.buildDrawingCache().
Romain Guy [Mon, 29 Jun 2009 21:24:56 +0000 (14:24 -0700)]
Fixes #
1949502. Prevents an NPE in View.buildDrawingCache().
Android (Google) Code Review [Mon, 29 Jun 2009 21:13:11 +0000 (14:13 -0700)]
Merge change 5673 into donut
* changes:
Adding support for params.
Charles Chen [Mon, 29 Jun 2009 21:04:24 +0000 (14:04 -0700)]
Adding support for params.
Jaikumar Ganesh [Mon, 29 Jun 2009 20:33:47 +0000 (13:33 -0700)]
Fix setting of the APN type.
The user is on wifi, then enables SUPL APN. When wifi is switched off,
we try to establish DATA connection on the Default APN. If this fails,
we were not retrying as the mRequestedApnType variable was not being reset.
This was happening because the SUPL APN and the data connection APN
were the same.
Android (Google) Code Review [Mon, 29 Jun 2009 20:15:46 +0000 (13:15 -0700)]
Merge change 5625 into donut
* changes:
fix [
1947273] the DimLayer causes the whole screen to update during transactions
Dianne Hackborn [Mon, 29 Jun 2009 19:00:39 +0000 (12:00 -0700)]
Generate key events for actions sent to generic input connections.
There is a compatibility issue with the cupcake IME where the generic
input connection would just consume actions. Late in cupcake this
stuff was reworked so that the IME would send an action command
to the app instead of an enter key event, and the compatibility code
got lost.
Android (Google) Code Review [Mon, 29 Jun 2009 18:57:33 +0000 (11:57 -0700)]
Merge change 5605 into donut
* changes:
Fix issue #
1943706 (Applying the monkey to GoogleVoice causes SecurityException)
Android (Google) Code Review [Mon, 29 Jun 2009 18:48:01 +0000 (11:48 -0700)]
Merge change 5654 into donut
* changes:
The BACKUP permission should have the signatureOrSystem protectionLevel, because the setup wizard isn't signed by the same cert as the framework.
Joe Onorato [Mon, 29 Jun 2009 18:46:30 +0000 (14:46 -0400)]
The BACKUP permission should have the signatureOrSystem protectionLevel,
because the setup wizard isn't signed by the same cert as the framework.
Android (Google) Code Review [Mon, 29 Jun 2009 17:04:09 +0000 (10:04 -0700)]
Merge change 5593 into donut
* changes:
Add in TTS engine interface the methods to query the availability for a language, to set the synthesis audio format, to query the current language, country and variant setting.
Jean-Michel Trivi [Sat, 27 Jun 2009 00:09:21 +0000 (17:09 -0700)]
Add in TTS engine interface the methods to query the availability for a language,
to set the synthesis audio format, to query the current language, country and
variant setting.
Tammo Spalink [Thu, 25 Jun 2009 08:13:51 +0000 (16:13 +0800)]
fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
addresses http://buganizer/issue?id=
1489784
Mathias Agopian [Sun, 28 Jun 2009 09:54:16 +0000 (02:54 -0700)]
fix [
1947273] the DimLayer causes the whole screen to update during transactions
Tammo Spalink [Tue, 9 Jun 2009 05:30:47 +0000 (13:30 +0800)]
cdma sms is91 support
Tammo Spalink [Sun, 28 Jun 2009 08:00:23 +0000 (16:00 +0800)]
add comment about endianness
Hung-ying Tyan [Sat, 27 Jun 2009 07:59:44 +0000 (15:59 +0800)]
Revise VpnService to use new vpn.* properties.
* Changes
+ Make VpnService get dns info from vpn.dns1/dns2 and set
net.dns1/dns2.
+ Make VpnService wait on vpn.up instead of monitoring on ip-up-vpn.
+ Change commands sent to racoon.
+ Remove original sendCommand() from AndroidServiceProxy and rename
sendCommand2() to sendCommand().
+ Add L2tpIpsecPskService.java.
+ Add short stop after sending ipsec command.
Christopher Tate [Sat, 27 Jun 2009 04:07:13 +0000 (21:07 -0700)]
Use system properties to track the current transport
This change retools the transport selection mechanism a fair bit. Transports
are now specified by name rather than by numeric ID, and the name of the
currently selected transport is stored in a persistent system property under the
name "persist.service.bkup.trans".
The name -> IBackupTransport translation is now handled by maintaining a map
from the names to the live IBackupTransport objects that correspond. The Google
transport service observer now registers and unregisters the transport as the
service goes up and down.
The bmgr command has been expanded to include real transport interrogation and
selection by name, and some documentation has been written for it.
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.