8549 Commits

Author SHA1 Message Date
Dianne Hackborn
ef6b22fc04 Fix issue #2420412: API review: DeviceAdmin API changes
Note in docs that callbacks are on main thread.
Rename to DeviceAdminReceiver?
Document resetPassword is the device's password.

Also hide android.R.attr.neverEncrypt.
2010-02-17 10:29:52 -08:00
Cary Clark
855dd9e074 Add UI considerations to layers
companion fix is in external/webkit

- Add class to return view metrics.
- Draw cursor rings and find matches in proper order.

http://b/2369549
2010-02-17 13:18:45 -05:00
Jaikumar Ganesh
aec0937be6 Merge "AVRCP volume controls for the docks." 2010-02-17 09:16:19 -08:00
Leon Scroggins
e265532f30 Create a default style for WebTextView.
As a result, all apps using WebView (and therefore WebTextView)
will get the same style, and display properly.

Fixes http://b/issue?id=2385422
2010-02-17 10:30:12 -05:00
Bjorn Bringert
0a05f5dfeb Merge "Clean up after failed MemoryFileTest.testPurge()" 2010-02-17 01:58:59 -08:00
Mike LeBeau
329c6aed78 Remove ACTION_VOICE_SEARCH_SETTINGS (added only for Froyo), because we've got
a more robust solution instead.
2010-02-16 18:22:23 -08:00
San Mehat
2db939bde9 Merge "MountService: Add API call for getting a list of pids currently using the specified mountpoint" 2010-02-16 18:07:31 -08:00
Mathias Agopian
8ff97b5869 Merge "get rid off the YUV formats at the libui layer" 2010-02-16 18:00:13 -08:00
Mathias Agopian
8f2423e8f3 get rid off the YUV formats at the libui layer 2010-02-16 17:33:37 -08:00
San Mehat
c1b4ce93be MountService: Add API call for getting a list of pids currently using the specified mountpoint
Signed-off-by: San Mehat <san@google.com>
2010-02-16 17:13:03 -08:00
Robert Greenwalt
6a6ce74e59 Merge "Update Tethering." 2010-02-16 17:11:10 -08:00
Chris Tate
cff1ae56e8 Merge "API CHANGE: expose backup/restore to the SDK" 2010-02-16 16:58:17 -08:00
Robert Greenwalt
2a091d7aa0 Update Tethering.
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
2010-02-16 16:56:09 -08:00
Christopher Tate
e28290e21f API CHANGE: expose backup/restore to the SDK
The core backup/restore classes [BackupManager, BackupAgent, RestoreSession, and
RestoreObserver] are now published for 3rd party developers, as well as the suite
of helper classes that exist so far to aid authorship of backup/restore agents.

In conjunction with the API change, the restore-time automatic data wipe has now
been removed:  applications are responsible for managing the logic of wipe vs
merge themselves.  If the app's agent onRestore() callback throws, the data
is presumed to be incoherent and a wipe is issued via the Activity Manager;
otherwise, no automatic action is ever taken.

Change-Id: I0b3418b829d4689b58b88be3d9c4ace37a8583a9
2010-02-16 16:23:55 -08:00
Mike LeBeau
4b71fc0fa8 Merge "Add constant to android-common for voice search's EXTRA_CALLING_PACKAGE, and use it from SearchDialog." 2010-02-16 16:10:09 -08:00
Suchi Amalapurapu
044a401292 Merge "Move mount service wrapper calls to PackageHelper" 2010-02-16 16:08:00 -08:00
Bjorn Bringert
1017a134c1 Clean up after failed MemoryFileTest.testPurge()
MemoryFileTest.testPurge() can fail if the process runs
out of file descriptors before the kernel starts purging ashmem areas.
Before, there was no finally block to close the open ashmem
file descriptions, which caused random other tests to fail.

I also changed the size of the memory areas to 10MB, which
should cause it to run out of memory before it runs out of file
descriptors. It now fails with this instead:

java.io.IOException
	at android.os.MemoryFile.native_pin(Native Method)
	at android.os.MemoryFile.allowPurging(MemoryFile.java:189)
	at android.os.MemoryFileTest.testPurge(MemoryFileTest.java:53)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:430)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)

I'm not sure why, but it could be that the kernel is purging the just
allocated area instead of an old one. That seems like bug.

See http://b/issue?id=2203775

Change-Id: Ia7930a714378474dd4c2c6709da40c08e715ab6f
2010-02-16 23:31:46 +00:00
Suchi Amalapurapu
679bba339e Move mount service wrapper calls to PackageHelper
Fix bug related to forward locked apps.
2010-02-16 15:11:04 -08:00
Kenny Root
bb9a51768d Add API to access ICU's East Asian Width
Currently there is no way for an application built against the API to
access East Asian Width data from ICU. This adds an API for applications
to use to access it for correct drawing of international characters.

Change-Id: Iab50698ee555ae2ca8ab4b242cc14aa6e0dc3b48
2010-02-16 15:05:02 -08:00
Daisuke Miyakawa
4a2d3b15ec Merge "Fixing the use of entities in VCardExporter." 2010-02-16 14:55:08 -08:00
Jean-Baptiste Queru
a466f86201 Merge "fix build" 2010-02-16 14:49:44 -08:00
Jean-Baptiste Queru
e3460d7a01 fix build
Change-Id: I08b7d09408530e8c107e2821af7a769fba1c7bd7
2010-02-16 14:49:01 -08:00
Dmitri Plotnikov
989edfde74 Fixing the use of entities in VCardExporter.
Bug: 2377678
Change-Id: I05768fd2ce28406b1fc32005343fa1eeaaecdd24
2010-02-16 14:40:46 -08:00
Eric Fischer
a877c03442 Keep Rfc822Tokenizer from crashing when the string ends with a backslash.
Bug 2442537
2010-02-16 14:34:32 -08:00
Dan Egnor
9d4b575453 Add getInsecure() that returns a persistently insecure SSLSocketFactory,
which Email needs for unbundling.

Bug: 2353593
2010-02-16 14:18:24 -08:00
Patrick Scott
fa4039e4fc Do not include the fragement identifier in the path.
Bug: 2435741
2010-02-16 17:09:03 -05:00
Jean-Baptiste Queru
e5dbbde590 Merge "Expose more Download Manager APIs." 2010-02-16 14:02:31 -08:00
Costin Manolache
63cfebf2db Switch from REMOTE_INTENT to the new push messaging, add the required permission. 2010-02-16 13:57:52 -08:00
Jean-Baptiste Queru
3af80dc6d9 Expose more Download Manager APIs.
This will allow apps to track download progress.

Change-Id: Id6b77c0fc01b4838fca45e2fe241b1ea08e65038
2010-02-16 13:55:19 -08:00
Jaikumar Ganesh
4f773a1304 AVRCP volume controls for the docks.
Send volume updates to the dock when the user presses volume buttons
on the device.

Bug: 2311007
2010-02-16 13:21:05 -08:00
Kenny Root
206ce622fc Merge "Fix off-by-one in parse3339 timezone check" 2010-02-16 12:56:29 -08:00
Adam Powell
e421195d75 Merge "Fix for [Horizontal]ScrollView scroll range reporting" 2010-02-16 12:36:29 -08:00
Adam Powell
a2f9101684 Fix for [Horizontal]ScrollView scroll range reporting 2010-02-16 12:26:33 -08:00
Kenny Root
412dc7de6e Fix off-by-one in parse3339 timezone check
parse3339 could read past the end of a string if the timezone was
truncated by one character causing intermittent failures in unit
tests.

Change-Id: I7e1724c6a7b464fdcb5e2b37469eb128303a51f1
2010-02-16 12:16:48 -08:00
Bjorn Bringert
bb50863c07 Merge "Remove flaky and broken search tests from continous" 2010-02-16 11:43:23 -08:00
Bjorn Bringert
052e88bb60 Remove flaky and broken search tests from continous
See: http://b/issue?id=2403672

Change-Id: Ie901a746b28a08f0cd6306c515c5fb5cddae4c41
2010-02-16 19:40:11 +00:00
Shimeng (Simon) Wang
e8cb5ab7c0 Merge "Enhance URL regular expression to match more Unicode chars." 2010-02-16 10:49:37 -08:00
Adam Powell
3d0ff09e35 Merge "VelocityTracker now uses pointer id instead of index when referring to multiple pointers. VelocityTracker now correctly handles multitouch. Addresses http://b/issue?id=2439030" 2010-02-16 10:14:05 -08:00
Adam Powell
70bc217703 Merge "Added proper overscrolling scroll bar behavior to GridView" 2010-02-16 10:13:52 -08:00
Paul Westbrook
b9dfb9b403 Download Manager API to support Gmail
Adds APIs to the Download manager to handle downloads based on
opaque ids
2010-02-16 09:25:40 -08:00
Suchi Amalapurapu
642b7c0f19 Merge "Include install location preference when installing packages. Changes include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests" 2010-02-16 09:23:51 -08:00
Doug Zongker
c694aa7597 Merge "tweak the Base64 implementation" 2010-02-16 08:49:38 -08:00
Doug Zongker
9df2ffd420 tweak the Base64 implementation
- move the encodeInternal/decodeInternal methods into the inner
  "state" classes

- tighten up the inner loop of the encoder and decoder a bit, saving
  about 5% of time in both cases

- improve javadoc

- other little fixes

Change-Id: I72e0ce8502c664a32418cea04636ccdbf4fec17c
2010-02-16 08:48:52 -08:00
Leon Scroggins
bd27544098 Set up the WebTextView before setting its selection.
Fixes http://b/issue?id=2431351
2010-02-16 09:34:47 -05:00
Daisuke Miyakawa
103d53645c Make vCard importer use Organization name when there's no other information available.
Some Contacts users are accustomed to use Organization as a name of the contact when the target contact is for some oraginazion like company, etc., so this change makes sense.

Bug: 2310146
2010-02-16 12:33:01 +09:00
Daisuke Miyakawa
51e43a3481 Add error handling codes into vCard composer.
Bug: 2377678
2010-02-15 09:34:32 +09:00
Dan Egnor
1c9131c91f Remove all traces of the old checkin service (and its associated parental
control interfaces) from the framework.
2010-02-13 12:40:12 -08:00
Daniel Sandler
0e9d2af2d6 New user interface sound effects:
- Low battery. (http://b/2320026)
 - Dock/undock events.
 - Keyguard lock/unlock events.

New system settings have been created to turn these on/off
and to specify the relevant sound files.

[Production notes: The provided low battery sound and dock
sounds were synthesized; the lock screen sounds are
processed samples of a ballpoint pen click mechanism.]

Bug: 2320026
Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d
2010-02-12 23:26:12 -05:00
Adam Powell
73d8fca6ba VelocityTracker now uses pointer id instead of index when referring to
multiple pointers. VelocityTracker now correctly handles
multitouch. Addresses http://b/issue?id=2439030
2010-02-12 19:35:40 -08:00
Suchi Amalapurapu
5b993ce7bc Include install location preference when installing packages.
Changes include
Add new remote call in default container service to determine
install location.
Rename INSTALL_ON_SDCARD
Remove recommentAppInstall method
Add some additional flags used in remote stubs.
Move check for protected apps prior to copy.
Unit tests

DefaultContainerService first parses the file uri(if content uri is specified
it returns a default install internal only value) and returns
a recommended location. Based on which the temporary id is determined
either a file name or a container id and the file is copied there.
This is then later renamed during install.
Todo's light weight parsing of package when determining location since we
just need the install location attribute only when finding out
recomended location. This will also enable to move the check for
updated system apps(cannot be on sdcard) prior to copying.
2010-02-12 18:50:47 -08:00