OSDN Git Service

android-x86/frameworks-base.git
15 years agoMerge change 6379 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 18:56:43 +0000 (11:56 -0700)]
Merge change 6379 into donut

* changes:
  Update RatingBar's assets in indicator mode.

15 years agoUpdate RatingBar's assets in indicator mode.
Romain Guy [Tue, 7 Jul 2009 18:56:15 +0000 (11:56 -0700)]
Update RatingBar's assets in indicator mode.

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

* changes:
  BackupManager wrapper class improvements

15 years agoAdd a Gservices setting for how many times we should retry before discarding an uphil...
Cynthia Wong [Tue, 7 Jul 2009 18:14:21 +0000 (11:14 -0700)]
Add a Gservices setting for how many times we should retry before discarding an uphill operation

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 6372 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 18:23:44 +0000 (11:23 -0700)]
Merge change 6372 into donut

* changes:
  Fixes #1963217. Increases the invalidate region in compatibility mode.

15 years agoFixes #1963217. Increases the invalidate region in compatibility mode.
Romain Guy [Tue, 7 Jul 2009 18:22:45 +0000 (11:22 -0700)]
Fixes #1963217. Increases the invalidate region in compatibility mode.

To account for rounding errors when scaling the invalidate regions, increase
the dirty rectangle by 1 pixel in each direction

15 years agoMerge change 6363 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 18:02:04 +0000 (11:02 -0700)]
Merge change 6363 into donut

* changes:
  LocationManagerService: Use Context.checkCallingOrSelfPermission for permission checks

15 years agoWifiService: Fix build (missing import)
San Mehat [Tue, 7 Jul 2009 17:49:47 +0000 (10:49 -0700)]
WifiService: Fix build (missing import)

Signed-off-by: San Mehat <san@google.com>
15 years agoMerge change 6314 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 17:35:40 +0000 (10:35 -0700)]
Merge change 6314 into donut

* changes:
  Use the current Locale as the default language when TTS settings are not found, rather than a hardcoded value stored in TextToSpeech.Engine.

15 years agoLocationManagerService: Use Context.checkCallingOrSelfPermission for permission checks
Mike Lockwood [Tue, 7 Jul 2009 17:18:21 +0000 (13:18 -0400)]
LocationManagerService: Use Context.checkCallingOrSelfPermission for permission checks

so other services running in the system process can use the location manager.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoWifiService: use wifi association state to determine if we should suspend wifi instead of
San Mehat [Tue, 7 Jul 2009 16:34:44 +0000 (09:34 -0700)]
WifiService: use wifi association state to determine if we should suspend wifi instead of
the existance of an IP address.

Signed-off-by: San Mehat <san@google.com>
15 years agoFix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice...
Eric Laurent [Tue, 7 Jul 2009 14:10:45 +0000 (07:10 -0700)]
Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice of the ouputSR

Store sample rate on 32 bits instead of 16 bits in audio_track_cblk_t.
Removed sampleRate() methods from AudioTrack and AudioRecord: replaced by getSampleRate().
AudioTrack::setSampleRate() no returns a status.

15 years agoMerge change 6338 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 06:48:25 +0000 (23:48 -0700)]
Merge change 6338 into donut

* changes:
  septet-align UD after any UDH for GSM-7bit coding

15 years agoseptet-align UD after any UDH for GSM-7bit coding
Tammo Spalink [Tue, 7 Jul 2009 06:17:28 +0000 (14:17 +0800)]
septet-align UD after any UDH for GSM-7bit coding

15 years agowidgets scaling fix. Use container's compatibility info and display metrics when...
Mitsuru Oshima [Fri, 3 Jul 2009 03:06:08 +0000 (20:06 -0700)]
widgets scaling fix. Use container's compatibility info and display metrics when container and widgets disagree.

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 agoUse the current Locale as the default language when TTS settings are not
Jean-Michel Trivi [Tue, 7 Jul 2009 00:58:52 +0000 (17:58 -0700)]
Use the current Locale as the default language when TTS settings are not
found, rather than a hardcoded value stored in TextToSpeech.Engine.

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.