18187 Commits

Author SHA1 Message Date
Eugene Koh
4398486a92 Merge "Update the mdpi resource with 2.0 style icons" 2010-02-09 12:05:49 -08:00
Shimeng (Simon) Wang
6420877c8a Merge "Take into account the visible title height when scrolling." 2010-02-09 11:39:18 -08:00
Shimeng (Simon) Wang
b7f17d4742 Take into account the visible title height when scrolling.
Bug: 2425057
	modified:   core/java/android/webkit/WebView.java
2010-02-09 11:32:16 -08:00
Xavier Ducrohet
b37d8a484c Merge "Add --auto-add-overlay option to aapt." 2010-02-09 11:29:11 -08:00
San Mehat
b104340496 Framework: Clean up / Refactor Mount APIs
- Move android.storage.* -> android.os.storage.* and refactor users
 - Refactor generic shares back to explicit ums enable/disable/isEnabled
 - Remove media insert/removed event callbacks (not ready for Froyo)
 - Remove 'label' from volume state change callbacks
 - Add public API functions for enabling/disabling USB mass storage (permissions enforced
   in MountSevice)
 - Remove some stray un-needed import lines
 - Move android.os.IMountService / android.os.IMountServiceListener -> android.os.storage
 - Improve code comments

Updated:
  MountService: Add dup state check and move debugging behind a conditional
  UsbStorageActivity: Fix review comments + a TODO
  StorageNotification: Add @Override tags
  StorageManager: Don't use a static Listener list
  MountService: Reduce bloat and fix == where I meant .equals()
  PackageManagerTests: Update for new API

Signed-off-by: San Mehat <san@google.com>
2010-02-09 11:03:16 -08:00
San Mehat
3ee1317173 NotificationManagerService: Add a listener for storage events
Signed-off-by: San Mehat <san@google.com>
2010-02-09 11:03:15 -08:00
San Mehat
64e6a45ed4 StorageNotification: Add general storage notification for UMS/Storage events
Signed-off-by: San Mehat <san@google.com>
2010-02-09 11:03:15 -08:00
San Mehat
7659117647 Merge "MountService: Harden for pre-boot usage users" 2010-02-09 11:02:44 -08:00
San Mehat
6bdcc06115 Merge "MountService: Add WARN checks to ASEC calls to catch bad users" 2010-02-09 11:02:32 -08:00
Adam Powell
52976f3d6a am 18f75bd4: am e88192b9: Cleanup fixes for ScaleGestureDetector
Merge commit '18f75bd45cdbfaf175364552f2d0d0dc3b2835c0'

* commit '18f75bd45cdbfaf175364552f2d0d0dc3b2835c0':
  Cleanup fixes for ScaleGestureDetector
2010-02-09 11:01:24 -08:00
Adam Powell
18f75bd45c am e88192b9: Cleanup fixes for ScaleGestureDetector
Merge commit 'e88192b9d2a8c364d8545471907c5baa275bb5f6' into eclair-plus-aosp

* commit 'e88192b9d2a8c364d8545471907c5baa275bb5f6':
  Cleanup fixes for ScaleGestureDetector
2010-02-09 10:55:57 -08:00
Adam Powell
e88192b9d2 Cleanup fixes for ScaleGestureDetector 2010-02-09 10:27:48 -08:00
Andreas Huber
fdcba38ccf Merge "During shutdown, don't loop forever on a state transition to OMX_StateInvalid." 2010-02-09 10:04:57 -08:00
San Mehat
18457fd41e Merge "NativeDaemonConnector: Improve error reporting and debug formatting" 2010-02-09 08:59:13 -08:00
San Mehat
c8da710f00 Merge changes I1aabef01,I8dbd0f83
* changes:
  SystemServer: Move MountService startup before NotificationManagerService
  StorageManager: Check for a null MountService
2010-02-09 08:58:23 -08:00
Kenny Root
ace5a3fbfb Hide resourceDirs from public API
Change-Id: I070558c0adca43c8650ac740d3cda4334d0f4a50
2010-02-09 08:47:30 -08:00
Leon Scroggins
9c6393b8df Merge "Handle the Tab key by moving to the next textfield. And ensure there is always a way to get to the next field." 2010-02-09 07:53:40 -08:00
Marco Nelissen
e56b7e6c35 Use bswap_16 instead of swap16, because swap16 is not available in glibc 2010-02-09 07:40:51 -08:00
Leon Scroggins
d5ff5dbfeb Handle the Tab key by moving to the next textfield. And ensure
there is always a way to get to the next field.

http://b/issue?id=2414236 and http://b/issue?id=2414229
2010-02-09 10:30:08 -05:00
Suchi Amalapurapu
7040ce7866 resolved conflicts for merge of 37a00a36 to master 2010-02-08 23:55:56 -08:00
Andy Stadler
a90cee8250 Merge "Fixes to DeviceAdmin & DevicePolicyManager Javadoc" 2010-02-08 23:06:31 -08:00
Andrew Stadler
88209d15dd Fixes to DeviceAdmin & DevicePolicyManager Javadoc
1.  Fix build break caused by renaming of sample app files
2.  Rewrote JavaDoc for setMaximumFailedPasswords()
2010-02-08 22:59:36 -08:00
Jim Miller
0b31970cac Fix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKeyboardView
- Added new PasswordEntryKeyboardView to internal/widgets.  Widget supports:
	- alpha mode with symbols (latin-1 only).
	- a numeric keyboard
	- IME emulation that applies keyboard input to arbitrary top-level view widget.
- Added new transparent assets to framework resources.
- Modified Keyguard and Keyguard layouts to use new PasswordEntryKeyboardView.
2010-02-08 21:04:39 -08:00
Mike Lockwood
628fd6d9c1 Network Location unbundling:
The network location and geocode provider services are now started on demand
and their interfaces are now retrieved via bindService().

Remove obsolete LocationManager installLocationProvider() and installGeocodeProvider() methods.

Add abstract class android.location.provider.GeocodeProvider to provide a public wrapper to
the IGeocodeProvider Binder interface. Replaces the LocationManager.GeocodeProvider interface.

Rename LocationProviderImpl to android.location.provider.LocationProvider.

Move LocationManager.reportLocation() to android.location.provider.LocationProvider,
so all methods related to external location providers are now all in one class.

Avoid calling from the Location Manager Service into providers that are disabled so we
do not start the network location service unnecessarily.

Change-Id: If3ed2d5d62b83ba508006711d575cad09f4a0007
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-08 23:20:27 -05:00
San Mehat
207e538350 MountService: Harden for pre-boot usage users
- Connection to native daemon now happens on creation instead of ON_BOOT
- Don't emit share change broadcasts before system is booted
- Protect against public API usage before we're ready

Signed-off-by: San Mehat <san@google.com>
2010-02-08 19:29:58 -08:00
San Mehat
f919cd02df MountService: Add WARN checks to ASEC calls to catch bad users
Signed-off-by: San Mehat <san@google.com>
2010-02-08 19:29:58 -08:00
San Mehat
1ff4371ef2 NativeDaemonConnector: Improve error reporting and debug formatting
Updated:
  NativeDaemonConnector: Put debugging behind a conditional

Signed-off-by: San Mehat <san@google.com>
2010-02-08 19:29:58 -08:00
San Mehat
1bf3f8be7c SystemServer: Move MountService startup before NotificationManagerService
Signed-off-by: San Mehat <san@google.com>
2010-02-08 19:29:58 -08:00
San Mehat
17da5a691c StorageManager: Check for a null MountService
Signed-off-by: San Mehat <san@google.com>
2010-02-08 19:29:58 -08:00
Suchi Amalapurapu
37a00a36fb am 08be55b8: Add null checks when scanning a package. Delete packages whose code and resource paths haven\'t been set correctly.
Merge commit '08be55b8ea917a5273c135a7bdc73e41c8524c05' into eclair-plus-aosp

* commit '08be55b8ea917a5273c135a7bdc73e41c8524c05':
  Add null checks when scanning a package.
2010-02-08 17:27:33 -08:00
Suchi Amalapurapu
08be55b8ea Add null checks when scanning a package.
Delete packages whose code and resource paths haven't been set
correctly.
2010-02-08 17:10:24 -08:00
Fred Quintana
53bd2522ca - change the SyncManager to retry MANUAL syncs that encounter a soft error
- make the sync dump handle the case where there are no accounts
- fix a bug that caused the SyncManager to burn up CPU in the system process

The following was implemented:

scheduler offers:
 - settings to disable sync
 - retries of certain errors
 - backoffs

want a way to control these when scheduling a sync
 - "ignore_settings"
 - "ignore initial backoff"
 - "manual" : ignore settings, ignore initial backoff
 - "do not retry"

- need to change the default behavior of not retrying manual syncs to retry regardless
2010-02-08 16:54:43 -08:00
Andreas Huber
9be54d400d ID3v1 tag's strings are ISO8859, not UTF-8, so do the proper conversion when extracting metadata.
related-to-bug: 2399408
2010-02-08 16:46:27 -08:00
Andreas Huber
ba53068245 Merge "Properly implement asynchronous preparation of media playback." 2010-02-08 16:39:24 -08:00
Jason Sams
1655f9a86f Merge "Fix fountain and put the demos back in the optional build." 2010-02-08 16:34:04 -08:00
Jason Sams
5bec3aa2c6 Fix fountain and put the demos back in the optional build. 2010-02-08 16:32:29 -08:00
Chris Tate
960f5d4222 Merge "Remember which apps have available restore info in the ancestral dataset" 2010-02-08 16:30:35 -08:00
Marco Nelissen
7499ef3e68 Merge "Skip the endianness marker when converting UCS-2 to UTF-8, since it ends up in the UTF-8 string otherwise." 2010-02-08 16:30:14 -08:00
Christopher Tate
b49ceb3b8b Remember which apps have available restore info in the ancestral dataset
When we perform a full-system restore, remember the set of applications which
have data available in our ancestral dataset.  This is a key filter for not
having to do a round trip to the [remote] storage backend at app-install time
unless it is likely to be fruitful.

Change-Id: I7c77b490c560c581888d84f02f258b2e2d73bc69
2010-02-08 16:29:22 -08:00
Andreas Huber
6be780ebd4 Properly implement asynchronous preparation of media playback.
related-to-bug: 2413002
2010-02-08 16:23:47 -08:00
Marco Nelissen
3887ac7eb4 Skip the endianness marker when converting UCS-2 to UTF-8, since it
ends up in the UTF-8 string otherwise.
2010-02-08 16:16:54 -08:00
Amith Yamasani
ec5df83c5b Fix to enable having a primary index that's not the closest match.
Needed for predictive hit target correction in LatinIME.
2010-02-08 15:26:00 -08:00
Gloria Wang
7723c94d32 Merge "Use Tremor for sim-eng, and Tremolo for other targets." 2010-02-08 15:16:07 -08:00
Marco Nelissen
67c12cc2aa Merge "Add support for the TPOS/TPA (disc number) id3 tag." 2010-02-08 14:59:31 -08:00
Romain Guy
1fa2d46fd2 Merge "Always remember the last touch mode state when touch mode changes." 2010-02-08 14:59:03 -08:00
Romain Guy
498b2960d5 Always remember the last touch mode state when touch mode changes.
Do not just rely on getting an onWindowFocusChanged() event. There are cases
where we might not get it (view removed from the window for instance.)
2010-02-08 14:58:01 -08:00
Suchi Amalapurapu
a22927909f Merge "Rename media resource broadcasts Add checks for fwdlocked and updated system apps add more tests remove duplicate adds" 2010-02-08 14:51:38 -08:00
Suchi Amalapurapu
b56ae20b22 Rename media resource broadcasts
Add checks for fwdlocked and updated system apps
add more tests
remove duplicate adds
2010-02-08 14:52:25 -08:00
Marco Nelissen
655306f8a8 Add support for the TPOS/TPA (disc number) id3 tag. 2010-02-08 14:50:19 -08:00
Charles Chen
c9a61f636d Merge "Fixing a race condition in the TextToSpeech service that could be triggered if many long utterances are started and interrupted in rapid succession." 2010-02-08 14:44:44 -08:00