18561 Commits

Author SHA1 Message Date
Wink Saville
7d97ff10c7 Always assume evdoXxxx signal strength values are correct.
This solves a race condition between the network type changing and
a signal strength changing. This could cause StatusBarPolicy to see
the -1 values for the evdo strength parameters and hence 0 bars would
be displayed.

Bug: 2419251
Change-Id: Iba0bdbd2023b6a5e49fc1f82c997ec3219158286
2010-02-13 07:56:20 -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
Mathias Agopian
08956f04c6 minor cleanup. 2010-02-12 18:50:28 -08:00
James Dong
d32fba411f Support decoder queries from media profiles xml configuration file 2010-02-12 18:15:45 -08:00
Doug Zongker
8fe5571aa4 fix build breakage due to javadoc error
Change-Id: Ie74e8e43a018fce0eaf34efead206ae03b82830a
2010-02-12 18:00:30 -08:00
Xavier Ducrohet
7cea964212 am ddcf25ea: (-s ours) am 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair
Merge commit 'ddcf25ea7e1b21b908da73000630c72d6fa146b4'

* commit 'ddcf25ea7e1b21b908da73000630c72d6fa146b4':
  Add --auto-add-overlay option to aapt. DO NOT MERGE
2010-02-12 17:55:17 -08:00
Xavier Ducrohet
ddcf25ea7e am 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair
Merge commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a' into eclair-plus-aosp

* commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a':
  Add --auto-add-overlay option to aapt. DO NOT MERGE
2010-02-12 17:52:28 -08:00
Dianne Hackborn
b125dc5599 Fix MotionEvent pointer API.
Ooops.  The API said that the pointer down and up actions contained
the pointer id, but it is actually the index.  Actually it makes
much more sense for it to be the index, and those ACTION_POINTER_1_DOWN
etc. constants were stupid.
2010-02-12 17:52:22 -08:00
Mike LeBeau
c2fd9adf0e Add constant to android-common for voice search's EXTRA_CALLING_PACKAGE,
and use it from SearchDialog.
2010-02-12 17:51:31 -08:00
Xavier Ducrohet
2be56ccbcf Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair 2010-02-12 17:48:36 -08:00
Doug Zongker
d382e4bee9 Merge "@hide the bizarro Base64 stream constructors" 2010-02-12 17:45:45 -08:00
Doug Zongker
33f7a80f76 @hide the bizarro Base64 stream constructors
With no usages of these "backwards" streams, it's not clear that we
want to support them forever in the API.

Also fixed some badly cut-and-pasted javadoc.

Change-Id: I4811d22e493bf2b8eaf79b9e95526e7eab5f27ee
2010-02-12 17:41:40 -08:00
Xavier Ducrohet
b9d2dc2319 Add --auto-add-overlay option to aapt. DO NOT MERGE
This option allows resources only present in overlays to be
added automatically instead of being declared through <add-resource>

(merge from master)

Change-Id: I5f402a1fa7213d18724d91f84bc05ef39ace2ed9
2010-02-12 17:37:50 -08:00
Jason Sams
6f8a3dfa6b Merge "Add comment block matching the type defines added by RS." 2010-02-12 17:26:46 -08:00
Jason Sams
941533186c Add comment block matching the type defines added by RS. 2010-02-12 17:25:47 -08:00
Doug Zongker
d2affae13d add a Base64 implementation to the API
b/1413917 - RFE: Base64 utility class
Change-Id: I11697859e1f78f596b92d2e03a49ed1be04ae42d
2010-02-12 17:13:56 -08:00
Gloria Wang
190dd57fb8 Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)" 2010-02-12 17:04:29 -08:00
Gloria Wang
8d00b53cc4 Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression) 2010-02-12 16:46:40 -08:00
Chris Tate
cf36010357 Merge "Remove BACKUP_DATA permission and associated checks" 2010-02-12 16:30:39 -08:00
Dianne Hackborn
d705fd2b0a Tweak updatecmds to be able to move entire directories. 2010-02-12 16:29:50 -08:00
Gilles Debunne
f5c6eff63d Force layout on TableRows when column widths are shrinked or streched.
Also features some comment typos and import re-ordering.

Change-Id: I32cb14419d7d349064032718469daf62a0a72e3a
2010-02-12 15:57:12 -08:00
Adam Powell
f2a204e792 Added proper overscrolling scroll bar behavior to GridView 2010-02-12 15:54:59 -08:00
Gilles Debunne
a10b48d5a5 Merge "Closed tabs removed from layout." 2010-02-12 15:50:05 -08:00
Christopher Tate
a87240c227 Remove BACKUP_DATA permission and associated checks
Any package can now participate in backup/restore, without requiring any
manifest-declared permission.  *Control* of the backup manager is still
guarded by the BACKUP permission, which is signatureOrSystem.

Change-Id: I116fcfcd4cd255e3c976330da1c4dea7d4faae9d
2010-02-12 15:49:30 -08:00
Scott Main
7e7605ace9 am de7b14f9: am 19bc31c3: Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair
Merge commit 'de7b14f9ab3df84bcb6af0775e96cab02648cbd9'

* commit 'de7b14f9ab3df84bcb6af0775e96cab02648cbd9':
  docs: remove old tutorial and sample pages from the sitemap
2010-02-12 15:35:58 -08:00
Mike LeBeau
60d21566fc Merge "Really fix the build - one more change to SearchDialog which shouldn't have been submitted." 2010-02-12 15:30:42 -08:00
Mike LeBeau
0ffc570598 Really fix the build - one more change to SearchDialog which shouldn't have
been submitted.
2010-02-12 15:30:12 -08:00
Scott Main
de7b14f9ab am 19bc31c3: Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair
Merge commit '19bc31c32d75ebebacd85cac2cf4c31108329613' into eclair-plus-aosp

* commit '19bc31c32d75ebebacd85cac2cf4c31108329613':
  docs: remove old tutorial and sample pages from the sitemap
2010-02-12 15:29:27 -08:00
Mike LeBeau
85c4e99382 Merge "Oops, unbreak the build by removing Recognition.java, not intended for submission at this time." 2010-02-12 15:27:12 -08:00
Mike LeBeau
5741848d1e Oops, unbreak the build by removing Recognition.java, not intended for
submission at this time.
2010-02-12 15:26:22 -08:00
Scott Main
19bc31c32d Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair 2010-02-12 15:25:44 -08:00
Scott Main
17b583b71d docs: remove old tutorial and sample pages from the sitemap 2010-02-12 15:24:13 -08:00
Jim Miller
de3cf7ea1f Merge "Watch 2274882: Add a field to the db when we wipe due to an error in the upgrader." 2010-02-12 15:20:40 -08:00
Brad Fitzpatrick
0a3e94d017 Merge "Log previous SQL statement also when logging "COMMIT;" operations." 2010-02-12 15:20:14 -08:00
Amith Yamasani
0499498935 Add a new KEYBOARD_TAP haptic feedback type for very short, low-latency vibration.
The minimum value varies from device to device, so this is useful for defining
the shortest and most efficient vibration. The VibratorService creates a Thread
when playing back vibration patterns, so this allows you to avoid thread creation
and associated scheduling delays by specifying a one-shot duration in the config
file.
2010-02-12 15:10:37 -08:00
Jim Miller
6176677e01 Watch 2274882: Add a field to the db when we wipe due to an error in the upgrader.
This should give us the ability to diagnose and fix db upgrade errors as reported by partners and end users.
2010-02-12 14:56:49 -08:00
Andreas Huber
bab28017a5 Merge "Preserve a preview frame to be restored after resuming the playback session." 2010-02-12 14:52:41 -08:00
Dianne Hackborn
046ceb572f Merge "Totally remove Unicode.cpp and rely on ICU" 2010-02-12 14:49:54 -08:00
Andreas Huber
7b73cfcc75 Preserve a preview frame to be restored after resuming the playback session.
related-to-bug: 2231576
2010-02-12 14:41:51 -08:00
Kenny Root
a9886c580b Totally remove Unicode.cpp and rely on ICU
Unicode.cpp used a packed data table for character data that essentially
duplicated ICU's functionality.

Change-Id: Ia68fe4ac94e89dc68d9a3f45f33f6e648a5500b7
2010-02-12 14:37:42 -08:00
Scott Main
f2522ce487 Merge "API change. add cycle_interpolator resource (it's the only one missing among all Interpolators) and update public.xml and current.xml with the new resource." 2010-02-12 14:37:15 -08:00
Mike LeBeau
80eeeb7095 Merge "Make the corresponding frameworks change to add VoiceRecognitionService to the list of SDK sample apps." 2010-02-12 14:31:00 -08:00
Scott Main
749ee4fefd API change.
add cycle_interpolator resource (it's the only one missing among
all Interpolators) and update public.xml and current.xml with the new resource.
2010-02-12 14:13:27 -08:00
Mike LeBeau
9c57aca188 Make the corresponding frameworks change to add VoiceRecognitionService to
the list of SDK sample apps.
2010-02-12 14:09:55 -08:00
Mathias Agopian
7f66d6e63d Merge changes I128ce4b2,I5cbb940c
* changes:
  real fix for [2440014] launcher2 crashing in loop during boot
  Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
2010-02-12 14:09:03 -08:00
Mathias Agopian
128ce4b24a real fix for [2440014] launcher2 crashing in loop during boot
Surface* cannot be casted to void* and then to android_native_window_t*
2010-02-12 14:04:35 -08:00
Dianne Hackborn
96898b38fa Merge "Add Pointer Location to the window manager." 2010-02-12 13:55:00 -08:00
Jean-Baptiste Queru
d85639afb6 Merge "Public Download Manager API" 2010-02-12 13:48:51 -08:00