1746 Commits

Author SHA1 Message Date
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
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
Android (Google) Code Review
3dcea047c5 Merge change 4237 into donut
* changes:
  Remove obsolete FOTA_UPDATE permission (which should never have been made public, and wouldn't be used by any third party applications, and no longer does anything regardless).
2009-06-15 16:33:54 -07:00
Grace Kloba
a03f046522 hide the new constant as it is pending api approval 2009-06-15 16:29:21 -07:00
Dan Egnor
2d4b6ad9d4 Remove obsolete FOTA_UPDATE permission (which should never have been
made public, and wouldn't be used by any third party applications,
and no longer does anything regardless).

Also remove the WRITE_GSERVICES permission from the SettingsProvider
package's manifest (the declaration there was redundant with the one
in the core manifest, where all the other settings-related permissions
live -- no other core package includes its own permission definitions).
2009-06-15 16:29:20 -07:00
Android (Google) Code Review
5570f2f24a Merge change 4252 into donut
* changes:
  Add more comment for EXTRA_APPEND_LOCATION
2009-06-15 16:06:11 -07:00
Grace Kloba
72afed86d3 Add more comment for EXTRA_APPEND_LOCATION 2009-06-15 16:00:12 -07:00
Android (Google) Code Review
aa67df9f2f Merge change 4248 into donut
* changes:
  Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
2009-06-15 15:50:18 -07:00
Android (Google) Code Review
7d143b89b7 Merge change 4245 into donut
* changes:
  Add the extra data definition for append location in the VIEW request to the Browser.
2009-06-15 15:34:30 -07:00
Grace Kloba
ab36bcccbb Add the extra data definition for append location in the VIEW request to the Browser. 2009-06-15 15:27:17 -07:00
Dianne Hackborn
29148f90cd Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
These are no longer used.
2009-06-15 15:25:31 -07:00
Android (Google) Code Review
77b7d7859a Merge change 4117 into donut
* changes:
  Add a Gservices setting to have a "use location for better search".
2009-06-15 15:23:20 -07:00
Android (Google) Code Review
6edb3487be Merge change 4234 into donut
* changes:
  Implement permission test for activity, window, service manager.
2009-06-15 15:07:50 -07:00
Dianne Hackborn
cfaef699e1 Implement permission test for activity, window, service manager.
This also includes some changes to the window manager permission checks.  Almost all of these
are to make it most testable (through an exception on a permission failure), though there is
one permission check that needed to be added: updateOrientationFromAppTokens().
2009-06-15 14:35:07 -07:00
Android (Google) Code Review
acec4d6741 Merge change 4224 into donut
* changes:
  Add test for GServices write permission, and remove dummy placeholder framework permission test.
2009-06-15 14:20:53 -07:00
Brett Chabot
2f0d86cf2e Add test for GServices write permission, and remove dummy placeholder framework permission test. 2009-06-15 14:15:19 -07:00
Android (Google) Code Review
9908b3d820 Merge change 4209 into donut
* changes:
  More tests to check permissions in PackageManager api's are enforced
2009-06-15 13:16:35 -07:00
Suchi Amalapurapu
ea196fc50e More tests to check permissions in PackageManager api's are enforced 2009-06-15 13:19:25 -07:00