18820 Commits

Author SHA1 Message Date
Bjorn Bringert
ab5d96c5da Use PackageMonitor in SearchManagerService
This should reduce the number of updates to the searchables
list if multiple packages change at the same time.

Fixes http://b/issue?id=2270711

Change-Id: Ieb930022866aa2872f8df1af677e3ea1645349bf
2010-02-23 22:48:46 +00:00
Brett Chabot
e575d3dff5 Merge "Add ability to run tests restricted to given annotation." 2010-02-23 10:46:42 -08:00
Mike Lockwood
c747cd8bd8 Merge "Move LocationTracker from com.google.android to com.android package." 2010-02-23 10:34:52 -08:00
Andreas Huber
42ddfc9495 Merge "Return runtime errors instead of asserting in MPEG4 file format validation, also add more validation to ensure presence of codec specific data for avc, aac and mpeg4." 2010-02-23 10:30:48 -08:00
Andreas Huber
5ee0bce5e0 Return runtime errors instead of asserting in MPEG4 file format validation, also add more validation to ensure presence of codec specific data for avc, aac and mpeg4.
related-to-bug: 2431967
2010-02-23 10:21:39 -08:00
James Dong
f82c76656b Merge "Replace system property retrieval calls with DecoderCapabilities Java API calls." 2010-02-23 10:16:57 -08:00
Bjorn Bringert
cfe79e9220 Merge "Clean up global search and web search activity finding" 2010-02-23 06:28:31 -08:00
Bjorn Bringert
6cf7a325e6 Clean up global search and web search activity finding
This removes the '*' value for android.app.searchable and
android.app.default_searchable that was previously used by apps to say
that they want global search as their search. I think the only
activity that this will affect is the wallpaper chooser in the
launcher, which doesn't seem like it matters.  It could mean that some
third party code will stop invoking global search, but all they would
need to do is call startSearch() with globalSearch=true instead.

Fixes http://b/issue?id=2377433 and http://b/issue?id=2377429

Change-Id: I0252952b44ae85dab31221b598ed79cc24e2b580
2010-02-23 14:27:43 +00:00
Mike Lockwood
191d898468 Move LocationTracker from com.google.android to com.android package.
Change-Id: I75757373e39669955d5f753a31a2a7b78d0b68ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-23 07:50:18 -05:00
Valentin Kravtsov
d162a114cc Increasing the VS button's touchable area
adding invisible padding to the background buttons

Change-Id: Icb8ff9b31e83049520566c2498e1f82067636897
2010-02-23 11:29:17 +00:00
Bernd Holzhey
6fd5e0ac51 Fix calculation of the next twilight update for locations where the day or night never ends. 2010-02-23 06:04:33 +01:00
Mike Lockwood
e5a1d4a21e Merge "Move LocationTracker test app from vendor/google to frameworks/base/tests" 2010-02-22 20:58:43 -08:00
Mike Lockwood
c9d3be3f0e Move LocationTracker test app from vendor/google to frameworks/base/tests
Change-Id: I49f1bfe2081f2c48fcb22b74aa2377857c2bae6d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-22 23:57:44 -05:00
Dianne Hackborn
f13f60127e Merge "Fix some random bugs." 2010-02-22 20:48:01 -08:00
Dianne Hackborn
9e0f5d9a63 Fix some random bugs.
2185256: After open &close of device keyboard shortcut does not added to Home desktop.

ActivityThread was losing the last saved state when restarting or launching into
a paused state.

2366174: defaults not cleared when they should be

PackageManagerService now removes any preferred activity records for a package
when it is uninstalled.

2154556: Battery stats can have an unbounded number of wake locks

We now start combining wake locks into one shared record when we hit a
maximum limit (currently 20).

2442519: Foreground services can have no notification by providing a bogus one.

If the notification manager rejects our notification, the service is forced to
no longer be in the foreground.

2442383: Finalization issues in com.android.server.am.PendingIntentRecord.java

Cleaned up finalization to call super class and avoid the big activity manager
lock (we still need to use the locks inside of the message system, but these
are much less likely to be a problem).

2284190: Cannot call a phone number using adb

We weren't getting the calling uid/pid in startActivity() if the caller did not
supply an application record.
2010-02-22 20:45:58 -08:00
Mike Lockwood
90c79c4fe6 Merge "Don't start location providers until the system is ready." 2010-02-22 20:39:24 -08:00
Oscar Montemayor
0f70868c83 Merge "Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path." 2010-02-22 18:16:32 -08:00
Brett Chabot
88e03a9736 Add ability to run tests restricted to given annotation.
And ability to exclude tests with given annotation.

Also fix class cast compile warning in emma output method.

Bug 2239240

Change-Id: I56273a51a8c58a690680bdb612615fab69e6e13f
2010-02-22 18:08:35 -08:00
Guang Zhu
2ee587a9c2 Merge "Quick fix layout test path problems" 2010-02-22 17:50:31 -08:00
Guang Zhu
8cd303aec6 Quick fix layout test path problems
SD card mount point has changed from /sdcard to /mnt/sdcard. layout test was calling getCanonicalPath to determine the path to the test case, which causes problem because /sdcard is now a symlink, and canonical path is actually the "real" path. Using quick dirty fix for now, will properly migrate any hard-coded reference to "/sdcard" to system function calls.
2010-02-22 17:45:05 -08:00
Mike Lockwood
46db504de5 Don't start location providers until the system is ready.
Change-Id: Id545e95705e59ffbaaab8a679a1b7df488813101
BUG: 2461320

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-22 20:42:27 -05:00
Makoto Onuki
2f6a01858b Fix bug 2183276: Synchronize all mManagedCursors accesses. 2010-02-22 17:27:57 -08:00
Jason Sams
469888fe84 Merge "beging np2 extension check work." 2010-02-22 17:06:21 -08:00
Romain Guy
79db13bf60 Merge "Calling super.finalize() in finalize() methods. Also cleanup code, mostly removing unused handlers and casts." 2010-02-22 17:01:41 -08:00
Romain Guy
a2fb0b7918 Merge "Prevent crash in AbsSpinner when the selection is out of sync. Bug #196253" 2010-02-22 17:01:26 -08:00
Romain Guy
afc0155718 Prevent crash in AbsSpinner when the selection is out of sync.
Bug #196253

Also do a little bit of syntax cleanup, remove unused code, etc.
2010-02-22 16:48:47 -08:00
Daniel Sandler
6fb7cbf12a Merge "Show the USB mass storage UI as soon as USB is connected." 2010-02-22 16:46:08 -08:00
Adam Powell
42122b6aa6 Merge "Standard alert dialogs overscroll only when content scrolls" 2010-02-22 16:36:38 -08:00
Andreas Huber
d6b6bf9321 Merge "Properly unload the renderer shared library after the renderer goes away." 2010-02-22 16:34:32 -08:00
Brad Fitzpatrick
fde3290374 Merge "Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds." 2010-02-22 16:32:25 -08:00
Romain Guy
a1303e0193 Calling super.finalize() in finalize() methods.
Also cleanup code, mostly removing unused handlers and casts.
2010-02-22 16:29:10 -08:00
Oscar Montemayor
f1cbfff03a Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path. 2010-02-22 16:23:19 -08:00
Gloria Wang
582ae172a4 Merge "Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE, but when it calls GetByteArrayRegion, it multiplies it by 2 which defeats the "// safety first" check at the beginning." 2010-02-22 16:08:28 -08:00
Gloria Wang
196863d274 Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE,
but when it calls GetByteArrayRegion, it multiplies it by 2 which
 defeats the "// safety first" check at the beginning.
2010-02-22 15:59:03 -08:00
Andreas Huber
078f7f05d5 Properly unload the renderer shared library after the renderer goes away. 2010-02-22 15:41:07 -08:00
Jason Sams
2978bfc6ad beging np2 extension check work. 2010-02-22 15:37:51 -08:00
Andreas Huber
ab9985ed4c Merge "This hardware video decoder lies about its required input buffer sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk." 2010-02-22 15:32:14 -08:00
Adam Powell
8e4e7263e5 Standard alert dialogs overscroll only when content scrolls 2010-02-22 15:18:14 -08:00
Brad Fitzpatrick
25880968cb Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds.
Turns out the database is used a ton, and not particularly quickly, so
these were spamming the logs at their prior 100ms thresholds.  Setting
it to 500ms now.  (still sub-sampled, so should be ~5x less spammy...)
2010-02-22 15:17:49 -08:00
Andreas Huber
b8de9578dc This hardware video decoder lies about its required input buffer sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk.
related-to-bug: 2281327
2010-02-22 14:58:45 -08:00
Mathias Agopian
33285c37ab Merge "remove a dependency of GraphicBuffer (libui) on Parcel (libbinder)." 2010-02-22 14:39:55 -08:00
Romain Guy
17b7d97d71 Merge "Fix bug where calling getButton(int) returns null." 2010-02-22 14:17:52 -08:00
Oscar Montemayor
176160a3ed Merge "Better file permissions enforcement on system keystore." 2010-02-22 14:15:00 -08:00
Adam Powell
1efc95f54e Merge "Don't switch layout modes in AbsListView#onTouchModeChanged() Don't stomp mResurrectToPosition for LAYOUT_SPECIFIC in AbsListView#hideSelector()" 2010-02-22 14:14:46 -08:00
Romain Guy
6fe2b22085 Fix bug where calling getButton(int) returns null.
Fixes external bug http://code.google.com/p/android/issues/detail?id=6360
2010-02-22 14:11:40 -08:00
Daniel Sandler
c07907e038 Show the USB mass storage UI as soon as USB is connected.
This is a huge usability win for average users who are
trying to transfer files: it coaches them through the
process while at the same time saving a number of steps.

If the user is just charging via USB, they're most likely
not actively using the device, in which case they won't
notice the difference.

Users with ADB turned on will see the old behavior (just the
ongoing notification, which pops the UsbStorageActivity if
tapped).

Bug: 2299129

Change-Id: Ib63a0a973dfdeb28741268fcf0e0fbc1b7be2922
2010-02-22 16:39:47 -05:00
Tobias Haamel
29274dc363 Also fix the API description file after UI_MODE_SERVICE rename. 2010-02-22 22:27:41 +01:00
San Mehat
b09cc2cde2 Merge "MountService: Force unmount when enabling ums" 2010-02-22 13:21:58 -08:00
San Mehat
3d4881067a MountService: Force unmount when enabling ums
Signed-off-by: San Mehat <san@google.com>
2010-02-22 13:08:44 -08:00
Vasu Nori
93ed831c90 Merge "fix race condition introduced by CL https://android-git.corp.google.com/g/40395" 2010-02-22 12:58:44 -08:00