2165 Commits

Author SHA1 Message Date
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
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
Guang Zhu
40656be658 Use additional functions to collect more memory information data points. 2009-06-30 11:56:13 -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
Jean-Michel Trivi
bbd63cb285 Fix bug where the default TTS Service country is initialized to the default language. 2009-06-29 17:31:05 -07:00
Android (Google) Code Review
aa4f1f9edc Merge change 5711 into donut
* changes:
  Adding in TTS service support for language query and level of support.
2009-06-29 17:26:32 -07:00
Android (Google) Code Review
22e8cbc32b Merge change 5656 into donut
* changes:
  Generate key events for actions sent to generic input connections.
2009-06-29 17:13:49 -07:00
Grace Kloba
65c0fc4fc4 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-29 17:03:42 -07:00
Jean-Michel Trivi
ddb0a803fd Adding in TTS service support for language query and level of support. 2009-06-29 16:58:32 -07:00
Android (Google) Code Review
27a8e07e4a Merge change 5699 into donut
* changes:
  Adding status return codes for TTS calls.
2009-06-29 16:26:57 -07:00
Charles Chen
5c22f516be Adding status return codes for TTS calls. 2009-06-29 16:25:58 -07:00
Android (Google) Code Review
bda04135ee Merge change 5669 into donut
* changes:
  Fix setting of the APN type.
2009-06-29 16:12:24 -07:00
Android (Google) Code Review
526355dea1 Merge change 5701 into donut
* changes:
  Expose in SynthProxy the query for the TTS supported and current language.
2009-06-29 16:09:44 -07:00
Jean-Michel Trivi
bee1c7e6a4 Expose in SynthProxy the query for the TTS supported and current language. 2009-06-29 16:07:17 -07:00
Android (Google) Code Review
53e083c90d Merge change 5645 into donut
* changes:
  Added a new operation mode where user can launch all tests under a folder from test app ui.
2009-06-29 15:44:19 -07:00
Android (Google) Code Review
ab4748c62d Merge change 5694 into donut
* changes:
  Implement persistent enable/disable of the backup manager
2009-06-29 15:35:11 -07:00
Android (Google) Code Review
48d4f67300 Merge change 5692 into donut
* changes:
  Adjust the character picker layout a little so it will fit on the screen.
2009-06-29 15:34:05 -07:00
Christopher Tate
6ef58a1509 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.
2009-06-29 15:33:27 -07:00
Eric Fischer
48d2c4a904 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
2009-06-29 15:30:11 -07:00
Guang Zhu
f92bd42a70 Added a new operation mode where user can launch all tests under a folder from test app ui. 2009-06-29 14:45:50 -07:00
Android (Google) Code Review
3a608f829b Merge change 5684 into donut
* changes:
  Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
2009-06-29 14:29:23 -07:00
Romain Guy
baac46339d Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
Also bumps up the cache's number of Nodes.
2009-06-29 14:28:29 -07:00
Android (Google) Code Review
52bce9c4e7 Merge change 5680 into donut
* changes:
  Fixes #1949502. Prevents an NPE in View.buildDrawingCache().
2009-06-29 14:26:31 -07:00
Romain Guy
e112322872 Fixes #1949502. Prevents an NPE in View.buildDrawingCache(). 2009-06-29 14:26:04 -07:00