OSDN Git Service

android-x86/frameworks-base.git
15 years agoBackupManager wrapper class improvements
Christopher Tate [Tue, 7 Jul 2009 02:04:57 +0000 (19:04 -0700)]
BackupManager wrapper class improvements

+ Now rechecks the cached IBinder each time the wrapper is used, and if it's
still null (i.e. the BackupManager was constructed before the system service
came up) it's refetched.  This lets even system code cache a single
BackupManager instance and just keep making calls through it without worrying
about interactions with the life cycle of the backup service.

+ Added a static dataChanged(packageName) method as a convenience for code that
needs to indicate that some other package needs a backup pass.  This is useful
even for third party code in the case of multiple packages in a shared-uid
situation.

15 years agoMerge change 6317 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 01:24:26 +0000 (18:24 -0700)]
Merge change 6317 into donut

* changes:
  Make enable/provisioning of the backup service a two-step process

15 years agoMake enable/provisioning of the backup service a two-step process
Christopher Tate [Mon, 6 Jul 2009 23:36:05 +0000 (16:36 -0700)]
Make enable/provisioning of the backup service a two-step process

This CL adds the concept of 'provisioned' to the backup manager.  No backups
will be scheduled until the user has indicated that backups are to be enabled
*and* has clicked all the way through the setup wizard.

When the user first turns on the backup system, the delay before the initial
backup pass is different from the periodic backup interval.  Currently that
initial delay is 12 hours.  The intent here is to guess at a less-active time
for performing that first backup pass.

NOTE: currently the backup service defaults to 'provisioned'.  Once the real
code goes live in Setup Wizard, this will be changed to default to
not-provisioned until the user has confirmed all the relevant UI.

15 years agoMerge change 6287 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 00:32:09 +0000 (17:32 -0700)]
Merge change 6287 into donut

* changes:
  Restore GPS state and ringer/vibrate toggles.

15 years agoRestore GPS state and ringer/vibrate toggles.
Amith Yamasani [Mon, 6 Jul 2009 21:53:25 +0000 (14:53 -0700)]
Restore GPS state and ringer/vibrate toggles.

Inform backup manager when sync flags change. Set ringer/vibrate mode.

15 years agoFixes #1963229. Introduces Context#isRestricted().
Romain Guy [Mon, 6 Jul 2009 23:35:25 +0000 (16:35 -0700)]
Fixes #1963229. Introduces Context#isRestricted().

A restricted Context is a special type of Context that prevents specific features
from being used. For instance, android:onClick, used by View, can be dangerous when
used from within apps widgets. By using a restricted Context to inflate apps widgets,
widgets providers are prevented from using android:onClick.

15 years agoMerge change 6307 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 23:28:03 +0000 (16:28 -0700)]
Merge change 6307 into donut

* changes:
  Fixes a compatibility issue with users that have the old TTS installed already.

15 years agoFixes a compatibility issue with users that have the old TTS
Charles Chen [Mon, 6 Jul 2009 23:10:32 +0000 (16:10 -0700)]
Fixes a compatibility issue with users that have the old TTS
installed already.

15 years agoMerge change 6305 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 22:49:26 +0000 (15:49 -0700)]
Merge change 6305 into donut

* changes:
  Fix up permissions for 'dumpsys backup'

15 years agoFix up permissions for 'dumpsys backup'
Christopher Tate [Mon, 6 Jul 2009 22:44:54 +0000 (15:44 -0700)]
Fix up permissions for 'dumpsys backup'

15 years agoMerge change 6271 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 21:38:39 +0000 (14:38 -0700)]
Merge change 6271 into donut

* changes:
  Propagating the error codes through the TtsService

15 years agoMerge change 6283 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 21:37:54 +0000 (14:37 -0700)]
Merge change 6283 into donut

* changes:
  Fix a bug where clicking the "more results" suggestion with the trackball did not seem to expand to show the corpus selectors. (http://b/1906643)

15 years agoMerge change 6282 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 21:32:18 +0000 (14:32 -0700)]
Merge change 6282 into donut

* changes:
  Fixes #1963214. ProgressDialog was using the wrong indeterminate progress asset.

15 years agoFixes #1963214. ProgressDialog was using the wrong indeterminate progress asset.
Romain Guy [Mon, 6 Jul 2009 21:31:39 +0000 (14:31 -0700)]
Fixes #1963214. ProgressDialog was using the wrong indeterminate progress asset.

15 years agoFix a bug where clicking the "more results" suggestion with the trackball
Mike LeBeau [Mon, 6 Jul 2009 21:29:25 +0000 (14:29 -0700)]
Fix a bug where clicking the "more results" suggestion with the trackball
did not seem to expand to show the corpus selectors. (http://b/1906643)

It turns out that when the trackball was used to select this item, onItemClick
was getting called on the listener twice in AutoCompleteTextView#onKeyUp:
once when we call onKeyUp on the DropDownListView, and once a little further
down when we call performCompletion(). In our case, performCompletion() is
useless since it was intended for normal AutoCompleteTextViews which populate
text into the TextView when an item in the list is clicked, but we do not
rely on this. So the easiest fix is just to make performCompletion() do nothing
in our SearchAutoComplete subclass.

15 years agoPropagating the error codes through the TtsService
Charles Chen [Mon, 6 Jul 2009 21:12:36 +0000 (14:12 -0700)]
Propagating the error codes through the TtsService

15 years agoMerge change 6252 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 21:09:16 +0000 (14:09 -0700)]
Merge change 6252 into donut

* changes:
  Don't re-parse the framework resources all the time.

15 years agoMerge change 6241 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 20:10:50 +0000 (13:10 -0700)]
Merge change 6241 into donut

* changes:
  Fixes #1444844. Set a maximum fling velocity in scrollable views.

15 years agoMerge change 6258 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 19:56:32 +0000 (12:56 -0700)]
Merge change 6258 into donut

* changes:
  Fix the comment -- "charged" not "sharted."  Also, the other strings on that screen seem to have periods.  I think that's wrong, but it's better to be consistent that right.

15 years agoFix the comment -- "charged" not "sharted." Also, the other
Joe Onorato [Mon, 6 Jul 2009 19:49:04 +0000 (15:49 -0400)]
Fix the comment -- "charged" not "sharted."  Also, the other
strings on that screen seem to have periods.  I think that's
wrong, but it's better to be consistent that right.

15 years agoMerge change 6255 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 19:39:28 +0000 (12:39 -0700)]
Merge change 6255 into donut

* changes:
  Fix the comments for the string resources for the charge status.

15 years agoFix the comments for the string resources for the charge status.
Joe Onorato [Mon, 6 Jul 2009 19:38:30 +0000 (15:38 -0400)]
Fix the comments for the string resources for the charge status.

15 years agoMerge change 6246 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 19:09:34 +0000 (12:09 -0700)]
Merge change 6246 into donut

* changes:
  Fix bugs 1317754 - "Idle screen displays "Charging (100%)" even when fully charged." and 1885870 - "Shorten 'Clear notification' button to 'Clear' to match latest design"

15 years agoFix bugs 1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
Joe Onorato [Mon, 6 Jul 2009 18:56:53 +0000 (14:56 -0400)]
Fix bugs 1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
and 1885870 - "Shorten 'Clear notification' button to 'Clear' to match latest design"

15 years agoMerge change 6162 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 18:54:34 +0000 (11:54 -0700)]
Merge change 6162 into donut

* changes:
  Hold a wakelock during backup/restore/clear operations

15 years agoHold a wakelock during backup/restore/clear operations
Christopher Tate [Fri, 3 Jul 2009 00:40:45 +0000 (17:40 -0700)]
Hold a wakelock during backup/restore/clear operations

We need to make sure we stay alive for the duration of a backup or (especially)
restore operation.  The existing Handler-based timing system was simply not
properly functional, so it's been retooled to use a repeating alarm delivering a
broastcast PendingIntent to our registered receiver.

We acquire a partial wake lock in the broadcast receiver [i.e. while the Alarm
Manager is holding one for the duration of broadcast delivery] and pass the
wakelock object to the backup thread, which eventually releases it when it's
finsihed operations.  A similar pattern is used for the threads handling restore
and clear.

15 years agoFixes #1444844. Set a maximum fling velocity in scrollable views.
Romain Guy [Mon, 6 Jul 2009 18:48:52 +0000 (11:48 -0700)]
Fixes #1444844. Set a maximum fling velocity in scrollable views.

15 years agoMerge change 6154 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 18:37:13 +0000 (11:37 -0700)]
Merge change 6154 into donut

* changes:
  Fix bug (#1947162)

15 years agoMerge change 6237 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 18:34:28 +0000 (11:34 -0700)]
Merge change 6237 into donut

* changes:
  Add a silent ringtone.

15 years agoAdd a silent ringtone.
Marco Nelissen [Mon, 6 Jul 2009 18:12:26 +0000 (11:12 -0700)]
Add a silent ringtone.

15 years agoFix bug (#1947162)
James Dong [Thu, 2 Jul 2009 23:26:39 +0000 (16:26 -0700)]
Fix bug (#1947162)

The bug (1947162) is caused by the fact that sometimes, surfaceChanged() is called after onCompletion().
In surfaceChanged(), start() is called automatically. The fix is to use a flag is avoid calling start()
when onCompletion() has been called already.

15 years agoMerge change 6227 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 18:26:15 +0000 (11:26 -0700)]
Merge change 6227 into donut

* changes:
  Adding tts result codes.

15 years agoDon't re-parse the framework resources all the time.
Dianne Hackborn [Mon, 6 Jul 2009 18:07:40 +0000 (11:07 -0700)]
Don't re-parse the framework resources all the time.

A small optimization to the resource code, to not re-parse the framework
resources every time we build a new AssetManager.  Instead, you can now
construct a ResTable from a previously created one...  of course, like the
existing code for using the data in-place, you can't delete the original
ResTable until you have deleted the one that has been constructed from it.

15 years agoMerge change 6231 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 18:09:20 +0000 (11:09 -0700)]
Merge change 6231 into donut

* changes:
  Don't trim() in the mediascanner, as that would remove the special "sort first" character.

15 years agoDon't trim() in the mediascanner, as that would remove the special "sort first" chara...
Marco Nelissen [Mon, 6 Jul 2009 18:07:27 +0000 (11:07 -0700)]
Don't trim() in the mediascanner, as that would remove the special "sort first" character.

15 years agoMerge change 6221 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 18:01:43 +0000 (11:01 -0700)]
Merge change 6221 into donut

* changes:
  Remove links to wikipedia; fix typo; remove .vsd file (bug 1918247).

15 years agoMake sure ringtones are sorted correctly.
Marco Nelissen [Mon, 6 Jul 2009 17:57:01 +0000 (10:57 -0700)]
Make sure ringtones are sorted correctly.

15 years agoAdding tts result codes.
Charles Chen [Mon, 6 Jul 2009 17:51:48 +0000 (10:51 -0700)]
Adding tts result codes.

15 years agoRemove links to wikipedia; fix typo; remove .vsd file (bug 1918247).
Katarina Stenstedt [Mon, 6 Jul 2009 17:10:19 +0000 (10:10 -0700)]
Remove links to wikipedia; fix typo; remove .vsd file (bug 1918247).

15 years agoFix the DEFAULT_SORT_ORDER value for media files. Changing this
Marco Nelissen [Mon, 6 Jul 2009 16:19:10 +0000 (09:19 -0700)]
Fix the DEFAULT_SORT_ORDER value for media files. Changing this
is OK, because existing app will have the old value compiled in
as a literal, and so will continue to (not) work in the same
way as before. Add code to media key generator to give a leading
ascii \001 the special meaning of "sort first".

15 years agoAdd PPTP and L2TP/IPSec PSK service dispatching
Hung-ying Tyan [Mon, 6 Jul 2009 15:31:33 +0000 (23:31 +0800)]
Add PPTP and L2TP/IPSec PSK service dispatching

15 years agoMerge change 6204 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 10:55:07 +0000 (03:55 -0700)]
Merge change 6204 into donut

* changes:
  Migrate to new keystore with the CertTool lib.

15 years agoMigrate to new keystore with the CertTool lib.
Hung-ying Tyan [Mon, 6 Jul 2009 09:12:53 +0000 (17:12 +0800)]
Migrate to new keystore with the CertTool lib.

15 years agoMerge change 6198 into donut
Android (Google) Code Review [Mon, 6 Jul 2009 07:04:54 +0000 (00:04 -0700)]
Merge change 6198 into donut

* changes:
  keystore: Provide a generic getter for native components.

15 years agokeystore: Provide a generic getter for native components.
Chia-chi Yeh [Mon, 6 Jul 2009 03:13:25 +0000 (11:13 +0800)]
keystore: Provide a generic getter for native components.

15 years agoAdd password field for WiFi configuration.
Chung-yih Wang [Sat, 4 Jul 2009 14:19:51 +0000 (22:19 +0800)]
Add password field for WiFi configuration.

1. the certtool.h is modified for avoiding the side effect,
   for saving the configuration with wpa_supplicant.
2. put the loadLibrary back in CertTool.java
3. Fix incorrect JNI declarations.

15 years agoMerge change 6081 into donut
Android (Google) Code Review [Sat, 4 Jul 2009 01:40:54 +0000 (18:40 -0700)]
Merge change 6081 into donut

* changes:
  Migrate to the CertTool library.

15 years agoMerge change 6187 into donut
Android (Google) Code Review [Fri, 3 Jul 2009 16:44:29 +0000 (09:44 -0700)]
Merge change 6187 into donut

* changes:
  Fix strings.

15 years agoFix strings.
Hung-ying Tyan [Fri, 3 Jul 2009 16:24:48 +0000 (00:24 +0800)]
Fix strings.

* Changes
  + Remove "Up time:" from ongoing event display.
  + Add hint in disconnected notification.

15 years agoMigrate to the CertTool library.
Chung-yih Wang [Thu, 2 Jul 2009 15:42:12 +0000 (23:42 +0800)]
Migrate to the CertTool library.

Keystore is reimplemented and it is mainly for storing
(key, value) pair generically. The certificate related
APIs are moved to the class CertTool instead.

Updates:
  Provide the getInstance() which gives the singleton.
  Fix the missing construction of the BIO in cert.c.

15 years agoMerge change 6177 into donut
Android (Google) Code Review [Fri, 3 Jul 2009 15:51:59 +0000 (08:51 -0700)]
Merge change 6177 into donut

* changes:
  Two small checks in keymgmt.

15 years agoMerge change 6183 into donut
Android (Google) Code Review [Fri, 3 Jul 2009 09:52:55 +0000 (02:52 -0700)]
Merge change 6183 into donut

* changes:
  Fix null data handling in ServiceCommand.writeCommand()

15 years agoFix null data handling in ServiceCommand.writeCommand()
Hung-ying Tyan [Fri, 3 Jul 2009 09:38:59 +0000 (17:38 +0800)]
Fix null data handling in ServiceCommand.writeCommand()

15 years agoMerge change 6130 into donut
Android (Google) Code Review [Fri, 3 Jul 2009 07:00:19 +0000 (00:00 -0700)]
Merge change 6130 into donut

* changes:
  Make backup agent run in the system process as well.

15 years agoMerge change 6146 into donut
Android (Google) Code Review [Fri, 3 Jul 2009 05:39:17 +0000 (22:39 -0700)]
Merge change 6146 into donut

* changes:
  Fixing 1949086 Sholes telephony crash after waking from sleep.

15 years agoTwo small checks in keymgmt.
Chung-yih Wang [Fri, 3 Jul 2009 04:09:52 +0000 (12:09 +0800)]
Two small checks in keymgmt.

1. Enforce the state check in listkey().
2. Enforce the password length check.

15 years agoFixing 1949086 Sholes telephony crash after waking from sleep.
Wink Saville [Fri, 3 Jul 2009 03:50:11 +0000 (20:50 -0700)]
Fixing 1949086 Sholes telephony crash after waking from sleep.

15 years agoRemoving IPA - IPA is already handled by the phoneme tag.
Charles Chen [Fri, 3 Jul 2009 00:21:22 +0000 (17:21 -0700)]
Removing IPA - IPA is already handled by the phoneme tag.

15 years agoMerge change 6155 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 23:45:12 +0000 (16:45 -0700)]
Merge change 6155 into donut

* changes:
  Unhide android.speech.tts.TextToSpeech

15 years agoUnhide android.speech.tts.TextToSpeech
Jean-Michel Trivi [Thu, 2 Jul 2009 23:29:30 +0000 (16:29 -0700)]
Unhide android.speech.tts.TextToSpeech

15 years agoMerge change 6143 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 22:24:43 +0000 (15:24 -0700)]
Merge change 6143 into donut

* changes:
  Fix the simulator.

15 years agoFix the simulator.
Marco Nelissen [Thu, 2 Jul 2009 22:23:26 +0000 (15:23 -0700)]
Fix the simulator.

15 years agoAdd a 'wipe' operation to Bmgr
Christopher Tate [Thu, 2 Jul 2009 21:37:05 +0000 (14:37 -0700)]
Add a 'wipe' operation to Bmgr

"bmgr wipe PACKAGE" now issues the backup transport clearBackupData() operation
for the given package.

15 years agoMerge change 6132 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 21:30:56 +0000 (14:30 -0700)]
Merge change 6132 into donut

* changes:
  If we can't get the restore set's metadata, don't continue

15 years agoIf we can't get the restore set's metadata, don't continue
Christopher Tate [Thu, 2 Jul 2009 21:28:47 +0000 (14:28 -0700)]
If we can't get the restore set's metadata, don't continue

Without the metadata we can't verify the version number or the signatures of the
apps whose data we'd be trying to restore against the apps present on device.
This is not acceptable; we need to refuse to give data to an unauthenticated
app.

15 years agoMake backup agent run in the system process as well.
Amith Yamasani [Thu, 2 Jul 2009 21:25:21 +0000 (14:25 -0700)]
Make backup agent run in the system process as well.

15 years agoMerge change 6126 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 21:20:08 +0000 (14:20 -0700)]
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.

15 years agoUse 'LOCAL_PATH' instead of 'local_path', so it's easier to see a diff of the two...
Marco Nelissen [Thu, 2 Jul 2009 21:18:30 +0000 (14:18 -0700)]
Use 'LOCAL_PATH' instead of 'local_path', so it's easier to see a diff of the two .mk files.

15 years agoMerge change 6102 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 20:19:55 +0000 (13:19 -0700)]
Merge change 6102 into donut

* changes:
  Backup Wifi supplicant data.

15 years agoMerge change 5979 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 19:20:29 +0000 (12:20 -0700)]
Merge change 5979 into donut

* changes:
  Remove the constraint to assign new uid when code path changes for system packages

15 years agoClean up the last two literal permission string usages
Christopher Tate [Thu, 2 Jul 2009 19:14:05 +0000 (12:14 -0700)]
Clean up the last two literal permission string usages

15 years agoMerge change 6104 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 19:10:42 +0000 (12:10 -0700)]
Merge change 6104 into donut

* changes:
  Add a "clear backed-up data" method to the backup mechanism

15 years agoBackup Wifi supplicant data.
Amith Yamasani [Thu, 2 Jul 2009 19:05:32 +0000 (12:05 -0700)]
Backup Wifi supplicant data.

WifiService requests a backup when it writes wifi configuration to disk.
Backup the wifi supplicant file when settings provider runs backup.

15 years agoMerge change 6090 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 18:31:14 +0000 (11:31 -0700)]
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.

15 years agoAdd a "clear backed-up data" method to the backup mechanism
Christopher Tate [Thu, 2 Jul 2009 18:17:03 +0000 (11:17 -0700)]
Add a "clear backed-up data" method to the backup mechanism

It's now possible to ask that the backup manager wipe the saved data for a given
application from the backing store.  LocalTransport implements this now but the
Google backend does not yet.  When the data is wiped, the on-device backup state
is also wiped to ensure that the next backup pushes all necessary data.

Bmgr has not yet been modified to actually call into this method, but it will
be soon.

15 years agoAdding strings for data root and data files - these are needed
Charles Chen [Thu, 2 Jul 2009 17:41:51 +0000 (10:41 -0700)]
Adding strings for data root and data files - these are needed
for returning this information in an Intent from checkVoiceData.

15 years agoMerge change 6084 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 18:00:41 +0000 (11:00 -0700)]
Merge change 6084 into donut

* changes:
  Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)

15 years agoMerge change 5995 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 17:46:37 +0000 (10:46 -0700)]
Merge change 5995 into donut

* changes:
  Turn off kerning when testing TextUtils.ellipsize().

15 years agoMerge change 6088 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 17:40:33 +0000 (10:40 -0700)]
Merge change 6088 into donut

* changes:
  WifiManager: Limit the number of WifiLocks that can be active simultaneously.

15 years agoWifiManager: Limit the number of WifiLocks that can be active simultaneously.
Mike Lockwood [Thu, 2 Jul 2009 17:25:00 +0000 (13:25 -0400)]
WifiManager: Limit the number of WifiLocks that can be active simultaneously.

This is to prevent a bad app from using up all the global references in the
system process due to allocating too many DeathRecipients.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoReturn CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)
James Dong [Thu, 2 Jul 2009 17:04:20 +0000 (10:04 -0700)]
Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)

15 years agoMerge change 6045 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 15:34:35 +0000 (08:34 -0700)]
Merge change 6045 into donut

* changes:
  Remove the null-termination for Java string compatibility.

15 years agoRemove the null-termination for Java string compatibility.
Chung-yih Wang [Thu, 2 Jul 2009 11:11:11 +0000 (19:11 +0800)]
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.

15 years agoMerge change 6043 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 12:01:23 +0000 (05:01 -0700)]
Merge change 6043 into donut

* changes:
  System and Secure settings backup.

15 years agoSystem and Secure settings backup.
Amith Yamasani [Thu, 2 Jul 2009 09:34:14 +0000 (02:34 -0700)]
System and Secure settings backup.

This backs up the basic system and secure settings. THe restoration doesn't
take effect immediately. You many need to restart the runtime to see all
restored values take effect.

15 years agoAdd CertTool for handling the keygen and certificate download.
Chung-yih Wang [Wed, 1 Jul 2009 16:22:04 +0000 (00:22 +0800)]
Add CertTool for handling the keygen and certificate download.

1. Have the new Keystore for mini-keystore impelemntation.
2. Add CertTool library and jni dll for handling keygen and certificates.
3. Make Reply hidden.
4. Revert some 'incorrect' change and correct the description.

15 years agoMerge change 5615 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 07:16:21 +0000 (00:16 -0700)]
Merge change 5615 into donut

* changes:
  Implement the generic mini-keystore for security.

15 years agoImplement the generic mini-keystore for security.
Chung-yih Wang [Sun, 28 Jun 2009 19:12:56 +0000 (03:12 +0800)]
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.

15 years agoAdd tests. internal bug id 1868702.
Daisuke Miyakawa [Fri, 12 Jun 2009 06:44:47 +0000 (15:44 +0900)]
Add tests. internal bug id 1868702.

15 years agoAdd facility to run setup wizard after an update.
Dianne Hackborn [Wed, 1 Jul 2009 18:22:45 +0000 (11:22 -0700)]
Add facility to run setup wizard after an update.

The system now keeps a tag of the last version (just an arbitrary string)
that the setup wizard was run for.  If this is different than the current
one in the setup wizard, then setup is launched at boot.

This introduces a new intent action for the part of the setup wizard that
gets run for an ungrade, which the system uses to find its current version
tag for comparing against what was last stored.  It is up to the launched
setup activity update the stored setting to reflect its current value,
once it is happy.

15 years agoMove backup state to settings, change permission checks to use symbol.
Dianne Hackborn [Thu, 2 Jul 2009 02:55:20 +0000 (19:55 -0700)]
Move backup state to settings, change permission checks to use symbol.

This changes the backup service to use the settings provider instead
of system properties, correspondingly making it off by default and
allowing specific devices to define the transport.  Also tweaks
the permission checks to use the permission symbol instead of raw
strings.

This requires some corresponding changes in the vendor projects.

15 years agoMerge change 5994 into donut
Android (Google) Code Review [Thu, 2 Jul 2009 01:04:40 +0000 (18:04 -0700)]
Merge change 5994 into donut

* changes:
  Less logging in some places.  More in others.

15 years agoTurn off kerning when testing TextUtils.ellipsize().
Eric Fischer [Thu, 2 Jul 2009 01:03:09 +0000 (18:03 -0700)]
Turn off kerning when testing TextUtils.ellipsize().

Otherwise, the different text measurement methods produce slightly
different results and cause the text to show different results for
Spanned vs. non-Spanned source strings.

Bug 1837826

15 years agoLess logging in some places. More in others.
Joe Onorato [Thu, 2 Jul 2009 01:04:03 +0000 (21:04 -0400)]
Less logging in some places.  More in others.

15 years agoCleanup a bunch of warnings in app widgets code.
Romain Guy [Thu, 2 Jul 2009 00:20:08 +0000 (17:20 -0700)]
Cleanup a bunch of warnings in app widgets code.

15 years agoRemove the constraint to assign new uid when code path changes for system packages
Suchi Amalapurapu [Wed, 1 Jul 2009 21:04:43 +0000 (14:04 -0700)]
Remove the constraint to assign new uid when code path changes for system packages

15 years agoMerge change 5962 into donut
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.

15 years agoMerge change 5940 into donut
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.

15 years agoSimRecords.getServiceProviderName() always returned null.
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.

15 years agoMerge change 5906 into donut
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.