1762 Commits

Author SHA1 Message Date
Android (Google) Code Review
07ca8c71f4 Merge change 4438 into donut
* changes:
  Fix many of the ANRs introduced by scheduling classes.
2009-06-17 10:38:44 -07:00
Android (Google) Code Review
a0a854d47f Merge change 4398 into donut
* changes:
  Using Locale to specify language and country for a TTS language to load, rather than a String. Cleanup in doc for TextToSpeech, and addition of queue mode constants.
2009-06-17 10:36:43 -07:00
Jean-Michel Trivi
679d728f09 Using Locale to specify language and country for a TTS language to load,
rather than a String.
Cleanup in doc for TextToSpeech, and addition of queue mode constants.
2009-06-17 10:16:17 -07:00
Android (Google) Code Review
2cf3971ea4 Merge change 4460 into donut
* changes:
  Use the new keystore API in vpn service.
2009-06-17 06:34:48 -07:00
Satish Sampath
bf23fe062a Prepare SearchManager framework for adding Genie logging.
- Instead of passing the suggest provider component name as the field
  EXTRA_DATA, we now pass via the field COMPONENT_NAME
- Kept EXTRA_DATA field as is so we can use it for real extra data.
2009-06-17 13:33:12 +01:00
Chung-yih Wang
68fdd3d4cd Use the new keystore API in vpn service. 2009-06-17 18:25:02 +08:00
Android (Google) Code Review
5c1c40d28c Merge change 4455 into donut
* changes:
  add feedback test with gsm7bit special case characters
2009-06-17 01:15:08 -07:00
Tammo Spalink
0ff946e7b5 add feedback test with gsm7bit special case characters 2009-06-17 16:13:52 +08:00
Android (Google) Code Review
528a29f886 Merge change 4326 into donut
* changes:
  Don't get location in search dialog.
2009-06-17 00:58:19 -07:00
Android (Google) Code Review
9fbeb7da13 Merge change 4337 into donut
* changes:
  Change the keystore APIs.
2009-06-16 23:35:57 -07:00
Chung-yih Wang
6d531bf051 Change the keystore APIs.
1. simplify the keypair selection in UI.
2. add the user certificate and key into the keystore for keygen feature.
2009-06-17 14:32:05 +08:00
Mitsuru Oshima
d9aef73f72 Squashed commit of the following:
commit 9798cd23605c96c1d6a29202f4d31f5454079b61
Author: Mitsuru Oshima <oshima@google.com>
Date:   Tue Jun 16 13:50:44 2009 -0700

    Made other toShortString in performDestroyActivity safe.

commit 19bf973df81d9d01210effb39c99e5236f2229c1
Author: Mitsuru Oshima <oshima@google.com>
Date:   Fri Jun 12 15:50:03 2009 -0700

    * component can be null after destory?
     This was causing NPE in catch block, which hides the actual exception.

Conflicts:

	core/java/android/app/ActivityThread.java
2009-06-16 20:22:12 -07:00
Dianne Hackborn
82f3f0008e Fix many of the ANRs introduced by scheduling classes.
We weren't bumping the oom_adj of processes receiving a registered broadcast.  Previously
this wasn't a problem, because those processes are allowed to have their oom_adj
managed by whatever else is in them and if the registered receiver goes away no problem.
But now this is also controlling the scheduling class, so we need to bump them up.

This is probably good anyway, since the developer has the same assurance of their process
not being killing in the middle of registered receivers like it had always been for
manifest receivers.

Also fixed a small issue where we were not recomputing the oom_adh after finished with
a broadcast.
2009-06-16 18:49:05 -07:00
Joe Onorato
5f15d151b5 checkpoint BackupDatAInput / RestoreHelper 2009-06-16 18:46:50 -07:00
Christopher Tate
aa088447ba Hold the current transport instantiated all the time.
We no longer instantiate the transport just for the duration of handling a
backup or restore operation.  Instead, we hold the object forever (replacing it
if instructed to do so).  This makes it easier for transports to watch system
state and help set backup timing policy.

Also fixes up the IBackupTransport documentation a bit.
2009-06-16 18:25:46 -07:00
Christopher Tate
63d2700036 Allow privileged callers to schedule a backup pass for any app. 2009-06-16 17:18:05 -07:00
Romain Guy
e705f2c52e Make gestures visible again. 2009-06-16 17:07:21 -07:00
Android (Google) Code Review
8db24105cb Merge change 4402 into donut
* changes:
  Fixes #1899284 and #1899287. Give applications more control over the gesture's path.
2009-06-16 15:56:49 -07:00
Romain Guy
b973eef289 Fixes #1899284 and #1899287. Give applications more control over the gesture's path.
This change adds new APIs to control the gesture's path by deciding whether the
path should be drawn and by getting the ability to get the Path itself and
draw it differently.
2009-06-16 15:53:27 -07:00
Android (Google) Code Review
8ad473994d Merge change 4374 into donut
* changes:
  Fixes a potential NPE in View.
2009-06-16 15:04:37 -07:00
Android (Google) Code Review
febde5fc29 Merge change 4389 into donut
* changes:
  More bmgr work; fix clear-data signalling
2009-06-16 14:34:23 -07:00
Android (Google) Code Review
f1170fb538 Merge change 4251 into donut
* changes:
  Updating TTS engine interface for setting the language based on language, country and variant codes coming from a java.util.Locale instance.
2009-06-16 14:05:39 -07:00
Christopher Tate
f68eb500f9 More bmgr work; fix clear-data signalling
The 'list sets' and 'restore token#' commands from bmgr now do what they are
supposed to.  At this point we see the restore target's data being cleared
properly and its agent being launched and invoked for restore.
2009-06-16 13:58:17 -07:00
Jean-Michel Trivi
35a8e80bf8 Updating TTS engine interface for setting the language based on language, country and variant codes
coming from a java.util.Locale instance.
2009-06-16 13:25:15 -07:00
Romain Guy
779398e7eb Fixes a potential NPE in View.
Calling getLocationOnScreen() before the View is attached to a window can
throw an NPE. This change simply guards against the exception.
2009-06-16 13:17:50 -07:00
Android (Google) Code Review
5633034f79 Merge change 4115 into donut
* changes:
  * component can be null after destory?  This was causing NPE in catch block, which hides the actual exception.
2009-06-16 13:14:09 -07:00
Android (Google) Code Review
a6061e043c Merge change 2563 into donut
* changes:
  Add PDP Reject causes.
2009-06-16 10:28:11 -07:00
Android (Google) Code Review
653349fe48 Merge change 4329 into donut
* changes:
  Change the first parameter of Keystore.generateKeyPair() to int.
2009-06-16 09:05:50 -07:00
Hung-ying Tyan
396c69ca8d Change the first parameter of Keystore.generateKeyPair() to int.
* changes
  change the parameter to the index to the supported key strengths
  remove the exception class as it is not useful now
2009-06-16 23:57:16 +08:00
Bjorn Bringert
6d3d9892c2 Don't get location in search dialog.
This change removes all location code from the
system search dialog. The code was out of sync with
the EnhancedGoogleSearchprovider, and was possibly
responsible for some network location provider
crashes.

Instead we will try to make EnhancedGoogleSearch persistent, so that
it has a reasonable location most of the time.
2009-06-16 14:50:20 +01:00
Android (Google) Code Review
0e3d77af4e Merge change 4324 into donut
* changes:
  AudioService: Fix routing problem recently introduced in setRouting().
2009-06-16 05:46:09 -07:00
Mike Lockwood
d1f362fe14 AudioService: Fix routing problem recently introduced in setRouting().
Do not disable a route unless routes is zero, to avoid accidentally disabling
if the same route is enabled twice in a row.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-16 08:23:13 -04:00
Android (Google) Code Review
7f148d6505 Merge change 4316 into donut
* changes:
  Revert "dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash."
2009-06-16 03:02:02 -07:00
Mike Lockwood
8cae2daf98 Revert "dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash."
This reverts commit 666c11d13fbf7b8e0502d44a94ffa00597ce92eb.
2009-06-16 05:50:46 -04:00
Chih-Chung Chang
4b4900b6b7 Enable more debug message to debug the Camera startPreview bug. 2009-06-16 17:19:02 +08:00
Android (Google) Code Review
8742e12060 Merge change 4311 into donut
* changes:
  Add keygen API to Keystore.
2009-06-16 02:16:53 -07:00
Hung-ying Tyan
1d51e50d5d Add keygen API to Keystore. 2009-06-16 17:14:38 +08:00
Android (Google) Code Review
b4f7592b03 Merge change 4299 into donut
* changes:
  Allow pre-Donut apps to use indirect Buffers in GL11 Pointer methods.
2009-06-15 21:55:01 -07:00
Jaikumar Ganesh
59cbd7c86f Add PDP Reject causes.
The RIL call LAST_PDP_FAIL_CAUSE, gives us the
PDP setup failure cause. Add support for retry based
on these causes.
2009-06-15 21:34:31 -07:00
Jack Palevich
91a27ae2fe Allow pre-Donut apps to use indirect Buffers in GL11 Pointer methods.
Apps targeting Donut and newer will throw an exception.

We use a heuristic to determine whether an app is pre-Donut or not:
We take the address space's __progname, and use that as the application's
package name. For simple applications this is correct.
2009-06-15 21:03:24 -07:00
Android (Google) Code Review
ef29379c28 Merge change 4023 into donut
* changes:
  Fix IntentFilter constructor to properly process the action parameter.
2009-06-15 20:21:30 -07:00
Android (Google) Code Review
6297cb2eb5 Merge change 4287 into donut
* changes:
  Sketch out a 'bmgr' command line tool
2009-06-15 19:03:48 -07:00
Christopher Tate
ace7f094bf Sketch out a 'bmgr' command line tool
Not finished, but eventually will allow adb shell access to the Backup Manager
for testing purposes etc.
2009-06-15 18:07:25 -07:00
Dianne Hackborn
4ebd855bb7 Fix build. 2009-06-15 17:44:07 -07:00
Android (Google) Code Review
e65fdfb8af Merge change 4262 into donut
* changes:
  Add utility methods to AndroidTestCase for asserting permission requirements for launching activities and accessing ContentProviders.
2009-06-15 17:10:16 -07:00
Android (Google) Code Review
727f36c6a1 Merge change 4265 into donut
* changes:
  process: Fix bug where if a thread exited while we were changing its control     group, we'd bail out and report an exception. This situation is *not*     an error.
2009-06-15 17:06:24 -07:00
Android (Google) Code Review
b0d2493ac0 Merge change 4264 into donut
* changes:
  Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally reintroduced in an errant and clumsy git merge operation.
2009-06-15 17:06:04 -07:00
San Mehat
1fd0ec738b process: Fix bug where if a thread exited while we were changing its control
group, we'd bail out and report an exception. This situation is *not*
    an error.

Signed-off-by: San Mehat <san@google.com>
2009-06-15 16:56:52 -07:00
Karl Rosaen
bedf9df706 Add utility methods to AndroidTestCase for asserting permission requirements for launching activities and accessing ContentProviders. 2009-06-15 16:56:01 -07:00
Dan Egnor
cb05cc4acb Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally
reintroduced in an errant and clumsy git merge operation.

Also remove permission label and description strings for now-deleted
permissions FOTA_UPDATE and (within the SettingsProvider package)
WRITE_GSERVICES.
2009-06-15 16:50:51 -07:00