18161 Commits

Author SHA1 Message Date
Marco Nelissen
e56b7e6c35 Use bswap_16 instead of swap16, because swap16 is not available in glibc 2010-02-09 07:40:51 -08: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
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
Gloria Wang
2c51014050 Use Tremor for sim-eng, and Tremolo for other targets. 2010-02-08 14:37:41 -08:00
Mike Reed
c9532609f5 animated the return to normal of mr-stretchy 2010-02-08 17:18:40 -05:00
Charles Chen
44afb7be73 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:11:45 -08:00
Joe Onorato
836a1f2cb9 Fix the build. That was an API change. 2010-02-08 13:42:06 -08:00
Joe Onorato
e8d898f4ed Merge "Make ComponentName cloneable." 2010-02-08 13:10:46 -08:00
Romain Guy
43d5e65049 Merge "Prevent crash in KeyboardView when the view is 0x0." 2010-02-08 13:06:17 -08:00
Joe Onorato
edc649aabc Make ComponentName cloneable. 2010-02-08 12:40:45 -08:00
Doug Zongker
870d81d038 remove android.os.Base64Utils
There are no more users of this code.

Change-Id: Ie0109ece2ea329aeb9607e9193eaf0808955eab9
2010-02-08 12:27:07 -08:00
Romain Guy
46a61bb730 Prevent crash in KeyboardView when the view is 0x0.
See http://code.google.com/p/android/issues/detail?id=6374
2010-02-08 11:57:55 -08:00
Doug Zongker
0066b084b9 Merge "add explicit Base64.DEFAULT flag to request default behavior" 2010-02-08 11:16:59 -08:00
Doug Zongker
8799149974 add explicit Base64.DEFAULT flag to request default behavior
Also fix some grammar problems in the javadoc, and prevent the class
from being instantiated.

Change-Id: I4d83184236566a1e77d5f5cce1c4dd3776bcfca3
2010-02-08 11:16:20 -08:00
Vasu Nori
8d45e4e4c6 changes after review by API council
please refer to http://b/issue?id=2420299
2010-02-08 11:12:04 -08:00
Vasu Nori
aea16fb62f Merge "use sqlite 3.6.22 to print and profile the sql statetements" 2010-02-08 10:59:38 -08:00
Vasu Nori
3ef94e25b4 use sqlite 3.6.22 to print and profile the sql statetements
instead of rolling our own trace/profile code in java, lets use
sqlite 3.6.22 features. turns out sqlite does a good job of
printing the sql statements - including the ones from the triggers.
2010-02-08 10:56:48 -08:00
Gloria Wang
5a84386ae3 Merge "Fix for 2224736. Sometimes mSeeking is reset without calling setSeekTo first." 2010-02-08 10:46:36 -08:00
The Android Open Source Project
5d36c46d2d am ad9bcb22: merge from open-source master
Merge commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f'

* commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f':
  Fix x coordinate of the ACTION_UP event in TouchUtils.drag() method
  Fixed Android animation framework, for using interpolators that do not start at 0.0f
  Fix for GPS engines without separate session and engine status events.
  Be tolerant of GPS session and engine on status messages arriving out of order.
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off
2010-02-08 09:17:10 -08:00
Bjorn Bringert
7406e53c4c Merge "Fixing a bug when installing VoiceSearch cause error" 2010-02-08 06:20:08 -08:00
Valentin Kravtsov
7a3c9d31bb Fixing a bug when installing VoiceSearch cause error
Reinstalling VoiceIME created a problem because RecognitionService expected the first command to be setListener, in this version, such command is added
if the connection is broken.

Change-Id: Ia102fc1843053e2bdd330b380c2685a1227081b2
2010-02-08 14:04:18 +00:00
Vasu Nori
0bce138ee4 Merge "fix a warning message that is confusing people." 2010-02-05 21:37:42 -08:00
Gloria Wang
6b31e4d21f Merge "Revert "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"" 2010-02-05 19:06:38 -08:00
Gloria Wang
96827283df Revert "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"
This reverts commit 2f46c062b05254671aec96a98b431f91ae7b270c.
2010-02-05 18:50:17 -08:00
Chia-chi Yeh
496388cbdb Merge "KeyStore: minor improvements." 2010-02-05 18:46:58 -08:00
Chia-chi Yeh
d12feb9766 KeyStore: minor improvements.
Make constants final.
Only converts ArrayLists to arrays when necessary.
2010-02-06 10:43:22 +08:00