2436 Commits

Author SHA1 Message Date
Android (Google) Code Review
74dc3e4a1e Merge change 5616 into donut
* changes:
  Revise VpnService to use new vpn.* properties.
2009-07-01 09:16:48 -07:00
Android (Google) Code Review
50d87fbd69 Merge change 5879 into donut
* changes:
  Represent new searchSettingsDescription attribute on searchables in SearchableInfo.
2009-07-01 08:51:31 -07:00
Mitsuru Oshima
8f25c426b1 resolve complex value in application context instead of system context. 2009-07-01 00:10:43 -07:00
Android (Google) Code Review
c56096fe1f 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.
2009-06-30 18:44:12 -07:00
Mike LeBeau
735b333bf6 Represent new searchSettingsDescription attribute on searchables in
SearchableInfo.
2009-06-30 18:27:40 -07:00
Mike LeBeau
f763e8f42d 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.
2009-06-30 18:26:21 -07:00
Android (Google) Code Review
65363830c1 Merge change 5854 into donut
* changes:
  Run backups at background priority
2009-06-30 16:18:59 -07:00
Christopher Tate
7958834e0e Run backups at background priority 2009-06-30 16:11:49 -07:00
Android (Google) Code Review
b0b815da8c Merge change 5845 into donut
* changes:
  Always clear the TextView drag state whenever a touch begins.
2009-06-30 15:44:07 -07:00
Eric Fischer
58b971d733 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
2009-06-30 15:22:51 -07:00
Android (Google) Code Review
daa5a21562 Merge change 5810 into donut
* changes:
  Fix bug 1930055 of NullPointerException.
2009-06-30 15:16:38 -07:00
Android (Google) Code Review
85d650c899 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.
2009-06-30 15:05:56 -07:00
Android (Google) Code Review
f3ab3c3437 Merge change 5833 into donut
* changes:
  Fix nit on length of flag constant.
2009-06-30 14:35:59 -07:00
lknguyen
09b3373d83 Fix nit on length of flag constant. 2009-06-30 14:09:33 -07:00
Android (Google) Code Review
f9eca3d43a Merge change 5807 into donut
* changes:
  Fixing synth to file to use the speech queue.
2009-06-30 14:08:30 -07:00
Android (Google) Code Review
6e1647a212 Merge change 5829 into donut
* changes:
  Fix issue #1673793: Theme styles don't apply.
2009-06-30 14:04:55 -07:00
Android (Google) Code Review
d8de2ba426 Merge change 5750 into donut
* changes:
  Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
2009-06-30 13:48:14 -07:00
Dianne Hackborn
1dac277f93 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.
2009-06-30 13:40:51 -07:00
Android (Google) Code Review
9848f11fd8 Merge change 5826 into donut
* changes:
  Fix NullPointerException in NinePatch constructor
2009-06-30 13:34:45 -07:00
Dianne Hackborn
de7faf658c 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.
2009-06-30 13:27:30 -07:00
Android (Google) Code Review
b1a9752341 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.
2009-06-30 13:22:15 -07:00
Android (Google) Code Review
b7d7d5f638 Merge change 5806 into donut
* changes:
  Use additional functions to collect more memory information data points.
2009-06-30 13:20:44 -07:00
Dave Sparks
d0cbb1a52d Check to make sure the Java camera object is still valid on the
callback from native. Omitted from previous fix. Bug 1936850.
2009-06-30 13:20:30 -07:00
Phil Dubach
54285f2cbf 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.
2009-06-30 13:19:48 -07:00
Christopher Tate
72d19aa51e 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.
2009-06-30 12:52:54 -07:00
Android (Google) Code Review
91c91b74df Merge change 5817 into donut
* changes:
   Replace indeterminate progress animated asset with new ones
2009-06-30 12:40:23 -07:00
Romain Guy
b5537c4522 Replace indeterminate progress animated asset with new ones 2009-06-30 12:39:18 -07:00
Android (Google) Code Review
441cb04efc Merge change 5732 into donut
* changes:
  Fix assertContentsInOrder (bug 1790350).
2009-06-30 12:17:48 -07:00
Charles Chen
ebb814bbae Fixing synth to file to use the speech queue. 2009-06-30 12:03:06 -07:00
John Wang
107821369b Fix bug 1930055 of NullPointerException.
The NullPointerException in getCallState is caused by the restarting of phone process. getITelephony() was not ready to be used at that moment.

	modified:   java/android/telephony/TelephonyManager.java
2009-06-30 12:01:35 -07:00
Guang Zhu
40656be658 Use additional functions to collect more memory information data points. 2009-06-30 11:56:13 -07:00
Chris Palmer
3856785225 Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that
the index is always < the array's length. Also ensures that the object's
state is consistent. Should resolve a denial-of-service bug when handling
malformed WAP pushes.
2009-06-30 11:50:50 -07:00
Android (Google) Code Review
2f8d58b7ae Merge change 5420 into donut
* changes:
  Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration.
2009-06-30 11:41:05 -07:00
Yu Shan Emily Lau
f47b8e991f Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration. 2009-06-30 11:13:06 -07:00
Android (Google) Code Review
a79ee8e2d3 Merge change 5792 into donut
* changes:
  Fix typo introduced during variable cleanup.
2009-06-30 11:01:10 -07:00
Android (Google) Code Review
5fb4cab2db Merge change 5787 into donut
* changes:
  Fix http://code.google.com/p/android/issues/detail?id=3059
2009-06-30 10:57:18 -07:00
Jaikumar Ganesh
34267f7e17 Fix typo introduced during variable cleanup.
This prevented data connection being established after voice calls on 2G networks.
2009-06-30 10:53:16 -07:00
Wu-cheng Li
b8a10fe456 Allow setPreviewDisplay after startPreview. 2009-07-01 01:41:25 +08:00
Marco Nelissen
2f189fa0f7 Fix http://code.google.com/p/android/issues/detail?id=3059 2009-06-30 10:32:00 -07:00
Android (Google) Code Review
33a7030f56 Merge change 5780 into donut
* changes:
  In TTS synthesis to file, remove hard coded values for the writing of the WAV header. Corrected TTS Service manifest to allow writing to external storage. Corrected memory management when the end of synthesis is signaled.
2009-06-30 09:55:37 -07:00
Jean-Michel Trivi
f07d824ba4 In TTS synthesis to file, remove hard coded values for the writing of the WAV header.
Corrected TTS Service manifest to allow writing to external storage.
Corrected memory management when the end of synthesis is signaled.
2009-06-30 09:50:12 -07:00
Android (Google) Code Review
7a5738624f Merge change 5720 into donut
* changes:
  Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
2009-06-30 07:06:50 -07:00
lknguyen
b0cba43305 Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads. 2009-06-29 20:50:25 -07:00
Android (Google) Code Review
083928fefd Merge change 5718 into donut
* changes:
  Fix NullPointerException in DrawableContainer.mutate()
2009-06-29 20:09:27 -07:00
Tammo Spalink
8561de157c eliminate byte-typed cdma sms fields 2009-06-30 11:02:46 +08:00
Android (Google) Code Review
0178afe415 Merge change 5485 into donut
* changes:
  cdma sms is91 support
2009-06-29 19:22:11 -07:00
Android (Google) Code Review
8aadf7ae27 Merge change 5359 into donut
* changes:
  fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
2009-06-29 19:22:05 -07:00
Christopher Tate
6f317426e4 Don't issue a deletion for the global metadata backup
We were accidentally submitting a deletion for the global metadata key in the
PM backup handling (it was falling into the usual "here's a package that we said
we'd backed up last time, but now it's no longer on device" code).  Don't do
that any more, i.e. actually keep the global metadata key in the backup set.
Oops.
2009-06-29 18:52:55 -07:00
Phil Dubach
6be507cc66 Fix NullPointerException in DrawableContainer.mutate()
DrawableContainerState.mDrawables is an array which may be only partially
filled, as can be seen in the constructor and the addChild() method.

DrawableContainer.mutate() wrongly assumed that the array does not contain
null references.
2009-06-29 18:31:17 -07:00
Karl Rosaen
97eb32e2ca Fix assertContentsInOrder (bug 1790350).
if we ever get an updated Lists class that includes a
Lists.newArrayList(Iterable<?>
implementation, that would work too.
2009-06-29 18:06:40 -07:00