17076 Commits

Author SHA1 Message Date
Suchi Amalapurapu
8d528c85d0 Fix build error 2010-01-14 16:44:20 -08:00
Jean-Baptiste Queru
32d80bf3b0 Introduce a non-SDK class to hold the implementation details
This is an exact clone of the "public" class, so that applications
that access the raw content provider directly (i.e. Browser) can
continue doing so, at the expense of not being buildable with the
SDK.

The Download Provider itself will also use those constants.

Bug: 2245521

Change-Id: I15f8ca8a3b69719cfbf403fc2607aac0d3c2b79a
2010-01-14 15:44:20 -08:00
Vasu Nori
e495d1f74a fix a bug in compiled-sql caching & hide public api setMaxSqlCacheSize
this is a clone of https://android-git.corp.google.com/g/#change,35174.
if the cache is full to its capacity and if a new statement is to be cached,
one of the entries in the cache is thrown out to make room for the new one.
but the one that is thrown out doesn't get deallocated by SQLiteProgram
because it doesn't know that it should.
fixed this by having SQLiteProgram finalize its sql statement in
releaseReference*() methods, if the statement is not in cache.
2010-01-14 15:22:58 -08:00
Andreas Huber
f2275078bd Merge "Squashed commit of the following:" 2010-01-14 15:12:36 -08:00
Andreas Huber
5a37232239 Merge "Fix a few issues with determining the closest sample to a given time in the MPEG4 sampletable implementation." 2010-01-14 15:12:29 -08:00
Ficus Kirkpatrick
3908e3c56c Merge "Remove some settings we are no longer using." 2010-01-14 15:08:55 -08:00
Andreas Huber
34d30d3342 Merge "Squashed commit of the following:" 2010-01-14 15:01:22 -08:00
Fred Quintana
6e8c730b9e Merge "allow + in usernames" 2010-01-14 14:58:39 -08:00
Fred Quintana
30d203050e allow + in usernames 2010-01-14 14:57:20 -08:00
Andreas Huber
ddb19093c3 Merge "Workaround for some hardware decoders not properly signaling end-of-output-stream properly." 2010-01-14 14:50:11 -08:00
Andreas Huber
140d4edf9b Fix a few issues with determining the closest sample to a given time in the MPEG4 sampletable implementation. 2010-01-14 14:49:19 -08:00
Ficus Kirkpatrick
0e25caf82e Remove some settings we are no longer using.
All are hidden; no API change.
2010-01-14 14:43:06 -08:00
Andreas Huber
0ffc90f6ed Squashed commit of the following:
commit cb11364feefc200f10af6a01f776803acba2792a
Author: Andreas Huber <andih@google.com>
Date:   Thu Jan 14 14:05:36 2010 -0800

    Even if the decoder didn't extract the thumbnail at the specified time, accept it for now.

commit a54c0244b305caf11e67db49b7d3d8dba5f77751
Author: Andreas Huber <andih@google.com>
Date:   Thu Jan 14 11:37:15 2010 -0800

    Add some checks to make sure we extract the correct thumbnail frame, also revert to the hardware decoders for thumnbail extraction if the software decoders failed.
2010-01-14 14:15:33 -08:00
Andreas Huber
909255a9cf Squashed commit of the following:
commit 0014ab17f2e0986044327a5ab22159de50b81e0a
Author: Andreas Huber <andih@google.com>
Date:   Thu Jan 14 14:05:09 2010 -0800

    Another instance of returning an error instead of asserting makes sense.

commit d2cac8c498a65b449a25ec216601830d23c165e7
Author: Andreas Huber <andih@google.com>
Date:   Thu Jan 14 13:34:33 2010 -0800

    Instead of asserting on invalid data (incomplete NAL unit), return an error.
2010-01-14 14:13:15 -08:00
Andreas Huber
dbcb2c68ee Workaround for some hardware decoders not properly signaling end-of-output-stream properly. 2010-01-14 14:09:58 -08:00
Suchi Amalapurapu
3c5f6dde74 Merge "app install on sdcard. provide skeleton implementation to install an app on sdcard, just resources. Add new install path for /asec in installd. ignore . when checking for apk path since the sdcard packages id'ed by package name. Add new -s option to adb shell pm Refactor fwd locked from scanMode to ApplicationInfo. Add new flag for sd install Add new parse flags for fwd locking and installing on sdcard New mock api's in PackageManagerService to invoke MountService api's. These will be refactored again and so have been wrapped internally. Some error codes in PackageManager Changes in PackageManagerService to use mPath and mScanPath during installation and switch to using PackageParser.Package.applicationInfo attributes for source and public resource directories. Some known issues that will be addressed later using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid error handling from vold not very robust. ignoring lot of things for now sending a delayed destroy to delete packages. will revisit later revisit temp file creation later. just copy for now" 2010-01-14 14:01:56 -08:00
Suchi Amalapurapu
af8e9f4805 app install on sdcard. provide skeleton implementation
to install an app on sdcard, just resources.
Add new install path for /asec in installd.
ignore . when checking for apk path since the sdcard packages id'ed
by package name.
Add new -s option to adb shell pm
Refactor fwd locked from scanMode to ApplicationInfo.
Add new flag for sd install
Add new parse flags for fwd locking and installing on sdcard
New mock api's in PackageManagerService to invoke MountService api's. These
will be refactored again and so have been wrapped internally.
Some error codes in PackageManager
Changes in PackageManagerService to use mPath and mScanPath during installation
and switch to using PackageParser.Package.applicationInfo attributes for
source and public resource directories.
Some known issues that will be addressed later
 using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid
 error handling from vold not very robust. ignoring lot of things for now
 sending a delayed destroy to delete packages. will revisit later
 revisit temp file creation later. just copy for now
2010-01-14 14:02:39 -08:00
Nicolas Roard
1061a4dd73 am 0123101a: am af2af4e5: Add proper support for fixed position elements
Merge commit '0123101af0e15221026f97f19dad23488840700a'

* commit '0123101af0e15221026f97f19dad23488840700a':
  Add proper support for fixed position elements
2010-01-14 13:18:25 -08:00
Nicolas Roard
0123101af0 am af2af4e5: Add proper support for fixed position elements
Merge commit 'af2af4e53aedb14c781d0351565fd7bec55a141a' into eclair-mr2-plus-aosp

* commit 'af2af4e53aedb14c781d0351565fd7bec55a141a':
  Add proper support for fixed position elements
2010-01-14 13:13:26 -08:00
Bjorn Bringert
f6fff20a96 Merge "Expose SearchManager constants for global search" 2010-01-14 13:01:01 -08:00
Bjorn Bringert
55f3ac5f29 Expose SearchManager constants for global search
This change exposes some constants that are needed for
starting the global search activity (QuickSearchBox):

- SearchManager.INTENT_ACTION_GLOBAL_SEARCH
- SearchManager.EXTRA_SELECT_QUERY

Change-Id: I2f1f10070f502a8d5b644e78c03837d5d8b43486
2010-01-14 20:56:59 +00:00
Nicolas Catania
66ef01e232 Revert "New method to return the last dialed number"
This reverts commit 439b7b31676232811ac6f575b396af70e254b803.
2010-01-14 12:22:58 -08:00
Romain Guy
52e2ef8cac Update ListView's children when the drawing cache color hint changes.
Bug #2371777
2010-01-14 12:18:15 -08:00
Niko Catania
e414f32f77 Merge "New method to return the last dialed number Bug:2227429" 2010-01-14 11:51:12 -08:00
Andreas Huber
faddd5d7d6 Merge "Support for determining the mime type of media via metadata extraction." 2010-01-14 11:38:24 -08:00
Nicolas Catania
439b7b3167 New method to return the last dialed number
Bug:2227429
2010-01-14 11:35:02 -08:00
Mark Wagner
5d3c9c107f Merge "constants for search" 2010-01-14 11:34:43 -08:00
Fred Quintana
bb68a4fc54 add AccountManager.testHasFeatures() to make it easy to check if a given account has a set of features 2010-01-14 10:35:33 -08:00
Mark Wagner
8178753301 Merge "bugfix endfling case (bug 2300534)" 2010-01-14 08:52:12 -08:00
Nicolas Roard
af2af4e53a Add proper support for fixed position elements
this is two-part change, see  http://android-git.corp.google.com/g/#change,37091 for the C++ counterpart.
This CL implements fixed position elements (css position: fixed) using layers, supporting pixels and percent lengths.

It addresses http://b/1914365
2010-01-14 14:46:07 +00:00
Bjorn Bringert
80d3091b99 Merge "Remove Intent.ACTION_GLOBAL_SEARCH" 2010-01-14 02:26:50 -08:00
Bjorn Bringert
7f6528113c Merge "Add QSB's GoogleSearch as the preferred web search provider" 2010-01-14 02:25:34 -08:00
Xavier Ducrohet
cff6c8459c am ae4bd059: ADT/Layoutlib: Reimplement parts of BitmapFactory
Merge commit 'ae4bd059caa71aa4652c0f07fde7c2687169906e' into eclair-plus-aosp

* commit 'ae4bd059caa71aa4652c0f07fde7c2687169906e':
  ADT/Layoutlib: Reimplement parts of BitmapFactory
2010-01-13 17:09:52 -08:00
Robert Greenwalt
90528645ad am 1193ae4e: Backport l53e91db7 from master.
Merge commit '1193ae4e824c66b75083c444ce0f250594e138ee' into eclair-plus-aosp

* commit '1193ae4e824c66b75083c444ce0f250594e138ee':
  Backport l53e91db7 from master.
2010-01-13 17:09:40 -08:00
Xavier Ducrohet
ae4bd059ca ADT/Layoutlib: Reimplement parts of BitmapFactory
The original bitmap factory is mostly done in native and deals
with the normal android Bitmap class which has been replaced
in the layoutlib by a bitmap that is merely a wrapper around
an AWT BufferedImage.

This new BitmapFactory creates the layoutlib version of
Bitmap all in Java.

Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0
2010-01-13 16:43:07 -08:00
Mark Wagner
670dd81942 bugfix endfling case (bug 2300534)
When the menu comes up over the activity we call removeCallbacks(mFlingRunnable);
The effect of that is that our mTouchMode variable is left dangling in the fling
state.  This change calls endFling() after removeCallbacks.  In the specific bug
being addressed we depend on reportScrollStateChange() because we avoid doing
requeries while scrolling.
2010-01-13 16:42:01 -08:00
Jason Sams
22550a1943 Merge "Remove excessive logging, fix error in GLSL uniform generation." 2010-01-13 14:54:20 -08:00
Jason Sams
e17e365b71 Remove excessive logging, fix error in GLSL uniform generation. 2010-01-13 14:52:46 -08:00
Dan Egnor
52952b1bca Overhaul of dumpstate (aka bugreport) with cleanups & enhancements:
- include basic build & timestamp information in the header
- collect stack traces immediately at bugreport time
- *also* show stack traces from last ANR (as before), if in the last 15 minutes
- alphabetize system properties dump
- remove now-obsolete (and always questionable) "dumpcrash" functionality
- write to a .tmp file first, then rename to the final filename
- friendly usage message
- output sections include the exact file/command run
- source de-weirdification -- it's several hundred lines shorter now

The same data is present in the same order as before, and I've tried
to preserve all the grep/search targets people might use to find their
way through the file.
2010-01-13 14:30:33 -08:00
Neal Nguyen
96e40b4b37 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:19:11 -08:00
Neal Nguyen
8d1966eac0 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:18:48 -08:00
Neal Nguyen
83fe5de254 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:18:17 -08:00
Neal Nguyen
ae51f0a857 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:17:56 -08:00
Bjorn Bringert
a94e7afb28 Remove Intent.ACTION_GLOBAL_SEARCH
I added Intent.ACTION_GLOBAL_SEARCH a little while ago, since
I thought we needed it to be different from the old
SearchManager.INTENT_ACTION_GLOBAL_SEARCH. Since GlobalSearch is
no longer built, reusing SearchManager.INTENT_ACTION_GLOBAL_SEARCH
should be fine.

Change-Id: If3a11a77a8e1d9940cf2b20817a60888cdd9d69f
2010-01-13 21:09:20 +00:00
John Wang
f6f56c051c Merge "Hangup calls before powering off radio." 2010-01-13 12:12:49 -08:00
Patrick Scott
139f6f31d1 am 70c4f6cf: am 021b7b44: Add a static method to obtain the mime type from extension.
Merge commit '70c4f6cfb4fd48d5153080d038ac0f5b6dbd98ec'

* commit '70c4f6cfb4fd48d5153080d038ac0f5b6dbd98ec':
  Add a static method to obtain the mime type from extension.
2010-01-13 11:51:33 -08:00
Robert Greenwalt
1bc3c3775b Fix Javadoc errors so the sdk can build.
I unhid some API in a previous install, triggering javadoc processing on
their buggy comments.

Fixing build.
2010-01-13 11:47:50 -08:00
Patrick Scott
70c4f6cfb4 am 021b7b44: Add a static method to obtain the mime type from extension.
Merge commit '021b7b443fa4bb24ec73d0c09cf019c14eba67bc' into eclair-mr2-plus-aosp

* commit '021b7b443fa4bb24ec73d0c09cf019c14eba67bc':
  Add a static method to obtain the mime type from extension.
2010-01-13 11:37:33 -08:00
Andreas Huber
1cb02bf661 Support for determining the mime type of media via metadata extraction. 2010-01-13 11:30:34 -08:00
Andreas Huber
5a2ade33fa Merge "More metadata support." 2010-01-13 11:28:21 -08:00