18286 Commits

Author SHA1 Message Date
Grace Kloba
614f8450a7 DO NOT MERGE
cherry-pick https://android-git.corp.google.com/g/#change,39258 from master

Now mSupportMultiTouch is depending on WebSettings,
it can't be static any more.

Fix http://b/issue?id=2413364
2010-02-09 18:20:28 -08:00
David 'Digit' Turner
add1376cde Generate /data/system/packages.list in the PackageManager
This file contains uid + debugFlag + dataPath information for
each non-system installed package. It is meant to be used later
from native code and thus needs to be considerably simpler to
parser than packages.xml.

The file should only be readable by non-system userIds, and its
format is essentially line-based with each line like:

  <pkgName> <uid> <debugFlag> <dataDir>

With:

  <pkgName>    as the package name
  <uid>        as the application-specific user id
  <debugFlag>  either 0 or 1. 1 if the package is debuggable
  <dataDir>    path to the package's data directory

We need the debug flag to allow 'run-as' to only allow
commands to be executed on debuggable packages, even on
production devices.
2010-02-09 18:18:55 -08:00
Brad Fitzpatrick
a63730d1f1 Log ContentProvider operations to the EventLog.
Just like with db_operation, operations over 100ms are always logged,
while operations under that are subsampled.

This will help with performance analysis, getting real-world
performance numbers from dogfooders.
2010-02-09 17:49:43 -08:00
Adam Powell
e1d683074b am 87da8606: Manually merged VelocityTracker changes
Merge commit '87da860616009a86e260e49bbefffe12c1a06607'

* commit '87da860616009a86e260e49bbefffe12c1a06607':
  Use a circular buffer in VelocityTracker
2010-02-09 17:35:52 -08:00
Jason Sams
b687581d4c Merge "Preview seperating RenderScript into RenderScript and RenderScriptGL" 2010-02-09 17:08:50 -08:00
Fred Quintana
c4893b71e5 Merge "only make AccountManager throw an exception on blocking calls in the UI thread if the application's SDK is froyo or later" 2010-02-09 17:07:47 -08:00
Shimeng (Simon) Wang
de1ef51529 Merge "Regenerate the TopLevelDomain from iana.org website." 2010-02-09 16:40:17 -08:00
Eric Fischer
6909b5a639 Merge "Make the Date Picker fields more consistent in locales with numeric months." 2010-02-09 16:10:57 -08:00
Jason Sams
704ff64b09 Preview seperating RenderScript into RenderScript and RenderScriptGL 2010-02-09 16:05:07 -08:00
Eric Fischer
5fe1e6221e Make the Date Picker fields more consistent in locales with numeric months.
In locales that use month numbers instead of names, use *just* the number
instead of also the word for month to be consistent with the other fields,
which also show just a number instead of a number plus the word for day
or year.

Bug 2289276
2010-02-09 15:58:50 -08:00
Christopher Tate
46d4525abc Print the snapshot focus rather than the Window Manager's actual current focus
when dumping key-timeout information around an ANR.

Change-Id: Ia70a71029663fa134078ea9ab40f0a6a7f3945ea
2010-02-09 15:55:03 -08:00
Mathias Agopian
ba637f8736 Merge "Add support for physically rotated displays" 2010-02-09 15:26:44 -08:00
Alex Gruenstein
cc47fae688 Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via onPartialResults() 2010-02-09 15:25:53 -08:00
Shimeng (Simon) Wang
3ed6fbd9e1 Regenerate the TopLevelDomain from iana.org website.
This is to capture recently added top level domains.
	modified:   common/java/com/android/common/Patterns.java

	modified:   common/tests/src/com/android/common/PatternsTest.java
2010-02-09 15:13:09 -08:00
Andreas Huber
4eaef139cf Merge "Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time..." 2010-02-09 14:28:32 -08:00
Andreas Huber
ffdf4782d4 Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time...
related-to-bug: 2431117
2010-02-09 14:27:33 -08:00
Adam Powell
87da860616 Manually merged VelocityTracker changes 2010-02-09 14:25:41 -08:00
Eugene Koh
88e2a5d3d3 Merge "Update DroidSansFallback typeface + preserve legacy version" 2010-02-09 14:24:08 -08:00
Andreas Huber
0dd4df27ad Merge "If the codec's input buffer size is too small to accomodate the buffer read from the source, report and error instead of asserting." 2010-02-09 14:23:30 -08:00
Dianne Hackborn
632aa76422 Merge "New external storage APIs." 2010-02-09 14:22:29 -08:00
Andreas Huber
42c444a8b1 If the codec's input buffer size is too small to accomodate the buffer read from the source, report and error instead of asserting. 2010-02-09 14:21:44 -08:00
Dianne Hackborn
e83cefcef0 New external storage APIs.
This implements the spec for external storage organization, and
properly reflects how the media scanner organizes the files it finds.

Also includes package manager support for removing app private
files from external storage when the application is uninstalled.

For the new APIs and paths, the main place to look is Environment
and Context.
2010-02-09 14:20:55 -08:00
Marco Nelissen
fe3b8e9fe5 Support the disc number and custom genre tags for mp4. 2010-02-09 14:15:38 -08:00
Fred Quintana
751fdc09bb only make AccountManager throw an exception on blocking calls in the UI thread if the application's SDK is froyo or later 2010-02-09 14:13:18 -08:00
Leon Scroggins
df737e442e Merge "Set the IME action to GO for normal textfields." 2010-02-09 14:12:07 -08:00
Amith Yamasani
72e5a8820a Merge "Restart input when moving to a new textfield." 2010-02-09 14:09:58 -08:00
Vasu Nori
787372568a Merge "suppress broken tests(http://b/2431671)" 2010-02-09 14:07:43 -08:00
Leon Scroggins
af314e246d Set the IME action to GO for normal textfields. 2010-02-09 17:06:59 -05:00
Ken Shirriff
53d0c7f4a0 Merge "Change key dispatch timeout logging." 2010-02-09 14:05:48 -08:00
Leon Scroggins
5c84bf0a3b Restart input when moving to a new textfield.
Ensures that the IME action gets updated properly.

Fixes http://b/issue?id=2428023
2010-02-09 17:03:44 -05:00
Dan Egnor
44d993798f Merge "Fix NPE in FileObserver when multiple events pile in for a defunct observer. Also, fix up some bogus whitespace (hard tabs, etc)." 2010-02-09 13:47:21 -08:00
Vasu Nori
5793a17366 suppress broken tests(http://b/2431671)
should have debugged the broken test.
added transactions to speed up tests wherver possible
2010-02-09 13:46:16 -08:00
San Mehat
1655e2859b Merge "MountService: Check for failure to unmount when enabling UMS and fix reversed logic" 2010-02-09 13:29:28 -08:00
San Mehat
59443a673a MountService: Check for failure to unmount when enabling UMS and fix reversed logic
Signed-off-by: San Mehat <san@google.com>
2010-02-09 13:28:45 -08:00
Romain Guy
cdc045dd6d Merge "Properly notifies listener when an animation is cancelled. Bug: #2428005." 2010-02-09 13:21:09 -08:00
Eugene Koh
5e7a09fe46 Update DroidSansFallback typeface + preserve legacy version
Move the Droid Sans Fallback typeface from Eclair and earlier Android versions
to a new path in the tree, and update the mainline version to add 4,398 Hanzi
characters, which adds approximately ~0.5 MB to the system footprint.

If that additional size is problematic, implementors may elect to build instead
with the legacy version, which supports GB2312 for Simplified Chinese but lacks
the expanded character set.
2010-02-09 12:40:32 -08:00
Vasu Nori
cb72cda8ca Merge "change wording in warning msg printed when compiled-sql cache is full" 2010-02-09 12:29:21 -08:00
Andreas Huber
e33813dfab Merge "A little less verbosity in stagefright and special treatment for the error state while shutting down." 2010-02-09 12:10:31 -08:00
Bjorn Bringert
8e867eb454 Merge "Fix NPE in PackageParser" 2010-02-09 12:09:28 -08:00
Eugene Koh
4398486a92 Merge "Update the mdpi resource with 2.0 style icons" 2010-02-09 12:05:49 -08:00
Andreas Huber
4a9375ef2a A little less verbosity in stagefright and special treatment for the error state while shutting down. 2010-02-09 11:54:33 -08:00
Vasu Nori
82f82be4b3 change wording in warning msg printed when compiled-sql cache is full 2010-02-09 11:49:01 -08:00
Shimeng (Simon) Wang
6420877c8a Merge "Take into account the visible title height when scrolling." 2010-02-09 11:39:18 -08:00
Romain Guy
305a2eb8e5 Properly notifies listener when an animation is cancelled.
Bug: #2428005.
2010-02-09 11:36:44 -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