Commit Graph

975 Commits

Author SHA1 Message Date
Chung-yih Wang
37b49519cc Two small checks in keymgmt.
1. Enforce the state check in listkey().
2. Enforce the password length check.
2009-07-03 12:14:36 +08:00
Android (Google) Code Review
3fca571773 Merge change 6155 into donut
* changes:
  Unhide android.speech.tts.TextToSpeech
2009-07-02 16:45:12 -07:00
Android (Google) Code Review
9d5ff35b19 Merge change 6143 into donut
* changes:
  Fix the simulator.
2009-07-02 15:24:43 -07:00
Android (Google) Code Review
c5e9a886b1 Merge change 6132 into donut
* changes:
  If we can't get the restore set's metadata, don't continue
2009-07-02 14:30:56 -07:00
Android (Google) Code Review
1b6f29bbea Merge change 6126 into donut
* changes:
  Use 'LOCAL_PATH' instead of 'local_path', so it's easier to see a diff of the two .mk files.
2009-07-02 14:20:08 -07:00
Android (Google) Code Review
a59fb52ae2 Merge change 6102 into donut
* changes:
  Backup Wifi supplicant data.
2009-07-02 13:19:55 -07:00
Android (Google) Code Review
94a938bb14 Merge change 5979 into donut
* changes:
  Remove the constraint to assign new uid when code path changes for system packages
2009-07-02 12:20:29 -07:00
Android (Google) Code Review
eb05dd5dae Merge change 6104 into donut
* changes:
  Add a "clear backed-up data" method to the backup mechanism
2009-07-02 12:10:42 -07:00
Android (Google) Code Review
6b55ae67d5 Merge change 6090 into donut
* changes:
  Adding strings for data root and data files - these are needed for returning this information in an Intent from checkVoiceData.
2009-07-02 11:31:14 -07:00
Android (Google) Code Review
f777ac1a2b Merge change 6084 into donut
* changes:
  Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)
2009-07-02 11:00:41 -07:00
Android (Google) Code Review
cf564240ed Merge change 5995 into donut
* changes:
  Turn off kerning when testing TextUtils.ellipsize().
2009-07-02 10:46:37 -07:00
Android (Google) Code Review
abd7cb08cd Merge change 6088 into donut
* changes:
  WifiManager: Limit the number of WifiLocks that can be active simultaneously.
2009-07-02 10:40:33 -07:00
James Dong
16f3d35459 Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726) 2009-07-02 10:04:20 -07:00
Android (Google) Code Review
0919ff5f14 Merge change 6045 into donut
* changes:
  Remove the null-termination for Java string compatibility.
2009-07-02 08:34:35 -07:00
Chung-yih Wang
7bd460b120 Remove the null-termination for Java string compatibility.
1. Also change the keyname delimiter in CertTool.java.
2. Return NOTFOUND if the result.len==0 in the listKeys().
3. Define the keystore states in the class Keystore.
2009-07-02 23:08:39 +08:00
Android (Google) Code Review
cdf34e02ed Merge change 6043 into donut
* changes:
  System and Secure settings backup.
2009-07-02 05:01:23 -07:00
Android (Google) Code Review
dca4e5332c Merge change 5615 into donut
* changes:
  Implement the generic mini-keystore for security.
2009-07-02 00:16:21 -07:00
Chung-yih Wang
c186c66a29 Implement the generic mini-keystore for security.
1. We will progressively migrate to this implementation.
2. For richc to have a quick review on the keymgmt part.
3. Add remove_key and make sure all functions are working.
4. Add permission check for get operation.
5. Return the retry count if unlock failed.
6. Add the reset operation for keystore reset.
7. Add the putfile shell command for putting the key value from file.
8. Fix the boundary issue during parsing command.
9. Use the ' ' as delimiter and reset the reply structure for each request.
10. Add change password retry count check.
11. Extract the read_marshal/write_marshal for certtool.h.
12. Remove the old implementation.
2009-07-02 14:08:20 +08:00
Android (Google) Code Review
9fc5f84201 Merge change 5994 into donut
* changes:
  Less logging in some places.  More in others.
2009-07-01 18:04:40 -07:00
Joe Onorato
00dae0a084 Less logging in some places. More in others. 2009-07-01 21:04:03 -04:00
Android (Google) Code Review
bdfffcc0c2 Merge change 5962 into donut
* changes:
  SimRecords.getServiceProviderName() always returned null.
2009-07-01 14:12:10 -07:00
Android (Google) Code Review
f9aabc1c27 Merge change 5940 into donut
* changes:
  Add CLDR data/formats for newly-translated locales.
2009-07-01 14:04:32 -07:00
Android (Google) Code Review
eee4987d2c Merge change 5906 into donut
* changes:
  resolve complex value in application context instead of system context.
2009-07-01 12:53:04 -07:00
Android (Google) Code Review
5499ddc312 Merge change 5950 into donut
* changes:
  Fix memory leaks in system_server unlink DeathRecipients in a whole bunch of places to avoid memory leaks
2009-07-01 12:52:39 -07:00
Android (Google) Code Review
e27a2f5953 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
ab47cbf76e Merge change 5879 into donut
* changes:
  Represent new searchSettingsDescription attribute on searchables in SearchableInfo.
2009-07-01 08:51:31 -07:00
Android (Google) Code Review
4bc8f71f87 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
Android (Google) Code Review
df355bb2d1 Merge change 5854 into donut
* changes:
  Run backups at background priority
2009-06-30 16:18:59 -07:00
Android (Google) Code Review
eb6c43bbe5 Merge change 5845 into donut
* changes:
  Always clear the TextView drag state whenever a touch begins.
2009-06-30 15:44:07 -07:00
Android (Google) Code Review
1ef3cfe033 Merge change 5810 into donut
* changes:
  Fix bug 1930055 of NullPointerException.
2009-06-30 15:16:38 -07:00
Android (Google) Code Review
fa0700491a 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
a034824538 Merge change 5833 into donut
* changes:
  Fix nit on length of flag constant.
2009-06-30 14:35:59 -07:00
Android (Google) Code Review
0084266d58 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
faeef8ede6 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
603f8baa5b 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
Android (Google) Code Review
1f6696b81d Merge change 5826 into donut
* changes:
  Fix NullPointerException in NinePatch constructor
2009-06-30 13:34:45 -07:00
Dianne Hackborn
e356292467 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
a44d62ff83 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
f3b266bda3 Merge change 5806 into donut
* changes:
  Use additional functions to collect more memory information data points.
2009-06-30 13:20:44 -07:00
Android (Google) Code Review
df580653d6 Merge change 5817 into donut
* changes:
   Replace indeterminate progress animated asset with new ones
2009-06-30 12:40:23 -07:00
Android (Google) Code Review
04b051a51b Merge change 5732 into donut
* changes:
  Fix assertContentsInOrder (bug 1790350).
2009-06-30 12:17:48 -07:00
Android (Google) Code Review
9aef958e64 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
Android (Google) Code Review
afcfd4ea6e Merge change 5792 into donut
* changes:
  Fix typo introduced during variable cleanup.
2009-06-30 11:01:10 -07:00
Android (Google) Code Review
66721436d0 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
Wu-cheng Li
988fb62884 Allow setPreviewDisplay after startPreview. 2009-07-01 01:41:25 +08:00
Android (Google) Code Review
0bfb456fc0 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
Android (Google) Code Review
9e14402f16 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
Android (Google) Code Review
bf85ece28c Merge change 5718 into donut
* changes:
  Fix NullPointerException in DrawableContainer.mutate()
2009-06-29 20:09:27 -07:00
Android (Google) Code Review
cb9eef96e3 Merge change 5485 into donut
* changes:
  cdma sms is91 support
2009-06-29 19:22:11 -07:00
Android (Google) Code Review
d6a81979c3 Merge change 5359 into donut
* changes:
  fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
2009-06-29 19:22:05 -07:00