OSDN Git Service

android-x86/frameworks-base.git
14 years agoAdd documentation to help developers make an RFCOMM conection to a Bluetooth
Nick Pelly [Wed, 24 Feb 2010 19:19:10 +0000 (11:19 -0800)]
Add documentation to help developers make an RFCOMM conection to a Bluetooth
serial board. They all use a well-known UUID that is not really explained
anywhere official, and this always trips developers up.

Change-Id: I53bda44b580f472b1ff1ad196b25485b68f4b5d5

14 years agoRemove redundant interface disable
Irfan Sheriff [Tue, 23 Feb 2010 23:34:15 +0000 (15:34 -0800)]
Remove redundant interface disable

Bug: 2274930
Change-Id: Ia1eafe422f6e18b826e53e72a306dd2961b948a6

14 years agoMerge "Remove unused private assets from Android 1.0."
Romain Guy [Wed, 24 Feb 2010 00:01:37 +0000 (16:01 -0800)]
Merge "Remove unused private assets from Android 1.0."

14 years agoRemove unused private assets from Android 1.0.
Romain Guy [Wed, 24 Feb 2010 00:00:52 +0000 (16:00 -0800)]
Remove unused private assets from Android 1.0.

14 years agoIssue 5697: getContextClassLoader returns a non-application classloader
Brian Carlstrom [Tue, 9 Feb 2010 19:23:40 +0000 (11:23 -0800)]
Issue 5697: getContextClassLoader returns a non-application classloader

ActivityThread should try to set the value for Java
Thread.getContextClassLoader to the PathClassLoader that loaded the
APK's classes so that Java frameworks that use the Java context class
loader, which is not to be confused with the
android.content.Context.getClassLoader which serves a similar purpose
in the Android framework.

However, we avoid setting the Java context ClassLoader to the APK's
PathClassLoader if there is a static indication that multiple packages
may share the VM, since they could load in an unpredictable order
leading to different values for the thread local Java context
ClassLoader. In this case, we instead use a specially created
WarningContextClassLoader that warns the user the first time the Java
context ClassLoader.

Currently the static indications that a package might share a VM with
other packages are the presence in the AndroidManifest of a
sharedUserId or requesting a non-default application process name.

14 years agoMerge "Use Java API from xml configuration in the test application"
James Dong [Tue, 23 Feb 2010 23:42:28 +0000 (15:42 -0800)]
Merge "Use Java API from xml configuration in the test application"

14 years agoMerge "Add Arp Cache dump"
Dmitry Shmidt [Tue, 23 Feb 2010 23:25:46 +0000 (15:25 -0800)]
Merge "Add Arp Cache dump"

14 years agoAdd Arp Cache dump
Dmitry Shmidt [Tue, 23 Feb 2010 23:21:11 +0000 (15:21 -0800)]
Add Arp Cache dump

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years agoMerge "Remove never-used dead code from BackupManager"
Joe Onorato [Tue, 23 Feb 2010 23:09:49 +0000 (15:09 -0800)]
Merge "Remove never-used dead code from BackupManager"

14 years agoRemove never-used dead code from BackupManager
Christopher Tate [Tue, 23 Feb 2010 23:01:52 +0000 (15:01 -0800)]
Remove never-used dead code from BackupManager

Change-Id: I93a8341160815e29625a978fee27014beb2c6a26

14 years agoMerge "Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils."
Jim Miller [Tue, 23 Feb 2010 22:16:46 +0000 (14:16 -0800)]
Merge "Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils."

14 years agoPropagate errors all the way through the MediaSources and send either MEDIA_PLAYBACK_...
Andreas Huber [Tue, 23 Feb 2010 21:45:33 +0000 (13:45 -0800)]
Propagate errors all the way through the MediaSources and send either MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR depending on the final reason for running out of buffers to play back.

related-to-bug: 2463749

14 years agoFix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.
Jim Miller [Tue, 23 Feb 2010 21:46:35 +0000 (13:46 -0800)]
Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.

Today we're seeing a crash that's likely caused by a change in the order in which
system services start.

The crash we're seeing happens in response to user interaction which happens after the
boot process completes, so we should re-fetch the DevicePolicyManager if we weren't
able to get it when LockPatternUtils was constructed.

14 years agoMerge "remove a dependency of surfaceflinger on libskia"
Mathias Agopian [Tue, 23 Feb 2010 20:52:28 +0000 (12:52 -0800)]
Merge "remove a dependency of surfaceflinger on libskia"

14 years agoMerge "fix error in javadoc"
Doug Zongker [Tue, 23 Feb 2010 20:37:53 +0000 (12:37 -0800)]
Merge "fix error in javadoc"

14 years agofix error in javadoc
Doug Zongker [Tue, 23 Feb 2010 20:36:06 +0000 (12:36 -0800)]
fix error in javadoc

The "@link LargeTest" is broken since it doesn't know where that class is.

Change-Id: Ie15e40bac8a1965427e351926b2208775e79cb13

14 years agofix some minor javadoc errors in AccountManager
Doug Zongker [Tue, 23 Feb 2010 20:26:33 +0000 (12:26 -0800)]
fix some minor javadoc errors in AccountManager

Change-Id: Iafc9e5541e56b936a426999e0ae9f99e56dccd51

14 years agoMerge "Fixing pressed state in preferences, addresses bug 2310741"
Adam Powell [Tue, 23 Feb 2010 20:09:07 +0000 (12:09 -0800)]
Merge "Fixing pressed state in preferences, addresses bug 2310741"

14 years agoFixing pressed state in preferences, addresses bug 2310741
Adam Powell [Tue, 23 Feb 2010 19:28:01 +0000 (11:28 -0800)]
Fixing pressed state in preferences, addresses bug 2310741

14 years agoMerge "Update AccountManager's javadoc."
Dan Egnor [Tue, 23 Feb 2010 19:57:13 +0000 (11:57 -0800)]
Merge "Update AccountManager's javadoc."

14 years agoUpdate AccountManager's javadoc.
Dan Egnor [Fri, 19 Feb 2010 19:23:00 +0000 (11:23 -0800)]
Update AccountManager's javadoc.

Includes several potentially controversial major changes:

- Remove the amount of repeated boilerplate explanations of common
idioms.  I find them much more distracting than useful.  The same
things are explained, but in fewer places.

- Add more narrative/directive information instead of merely descriptive
commentary; I included a lot of "color" about who particular methods are
intended for and why you might use them.

- Add explicit guidance (in the class javadoc) about the common usage pattern.
Explicitly document the auth token invalidation dance, which is highly
nonobvious, had never been written down before, and which GMM got wrong,
creating a Latitude conops nightmare they're still digging out of.

- Explain and justify, as best I can, the overall model of account management:
saved credentials, pluggable authenticators, auth tokens, and so on.  Clarify
some things, like that setPassword() changes the locally cached credential
but does not set the user's password on the server.

- Clarify what the passed-in Activity parameter is used for.  (It seems silly,
but I was confused by this: is it supposed to be the Activity that actually
performs the password prompt or whatever?  No, it's just a Context for the
startActivity() to be launched from.)

14 years agoMerge "Add ability to run tests restricted to given annotation."
Brett Chabot [Tue, 23 Feb 2010 18:46:42 +0000 (10:46 -0800)]
Merge "Add ability to run tests restricted to given annotation."

14 years agoMerge "Move LocationTracker from com.google.android to com.android package."
Mike Lockwood [Tue, 23 Feb 2010 18:34:52 +0000 (10:34 -0800)]
Merge "Move LocationTracker from com.google.android to com.android package."

14 years agoMerge "Return runtime errors instead of asserting in MPEG4 file format validation...
Andreas Huber [Tue, 23 Feb 2010 18:30:48 +0000 (10:30 -0800)]
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."

14 years agoReturn runtime errors instead of asserting in MPEG4 file format validation, also...
Andreas Huber [Tue, 23 Feb 2010 18:12:02 +0000 (10:12 -0800)]
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

14 years agoMerge "Replace system property retrieval calls with DecoderCapabilities Java API...
James Dong [Tue, 23 Feb 2010 18:16:57 +0000 (10:16 -0800)]
Merge "Replace system property retrieval calls with DecoderCapabilities Java API calls."

14 years agoMerge "Clean up global search and web search activity finding"
Bjorn Bringert [Tue, 23 Feb 2010 14:28:31 +0000 (06:28 -0800)]
Merge "Clean up global search and web search activity finding"

14 years agoClean up global search and web search activity finding
Bjorn Bringert [Tue, 23 Feb 2010 13:17:06 +0000 (13:17 +0000)]
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

14 years agoMove LocationTracker from com.google.android to com.android package.
Mike Lockwood [Tue, 23 Feb 2010 12:50:18 +0000 (07:50 -0500)]
Move LocationTracker from com.google.android to com.android package.

Change-Id: I75757373e39669955d5f753a31a2a7b78d0b68ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoIncreasing the VS button's touchable area
Valentin Kravtsov [Tue, 23 Feb 2010 09:39:43 +0000 (09:39 +0000)]
Increasing the VS button's touchable area

adding invisible padding to the background buttons

Change-Id: Icb8ff9b31e83049520566c2498e1f82067636897

14 years agoFix calculation of the next twilight update for locations where the day or night...
Bernd Holzhey [Thu, 18 Feb 2010 10:19:56 +0000 (11:19 +0100)]
Fix calculation of the next twilight update for locations where the day or night never ends.

14 years agoMerge "Move LocationTracker test app from vendor/google to frameworks/base/tests"
Mike Lockwood [Tue, 23 Feb 2010 04:58:43 +0000 (20:58 -0800)]
Merge "Move LocationTracker test app from vendor/google to frameworks/base/tests"

14 years agoMove LocationTracker test app from vendor/google to frameworks/base/tests
Mike Lockwood [Tue, 23 Feb 2010 04:42:02 +0000 (23:42 -0500)]
Move LocationTracker test app from vendor/google to frameworks/base/tests

Change-Id: I49f1bfe2081f2c48fcb22b74aa2377857c2bae6d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge "Fix some random bugs."
Dianne Hackborn [Tue, 23 Feb 2010 04:48:01 +0000 (20:48 -0800)]
Merge "Fix some random bugs."

14 years agoFix some random bugs.
Dianne Hackborn [Mon, 22 Feb 2010 23:05:42 +0000 (15:05 -0800)]
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.

14 years agoMerge "Don't start location providers until the system is ready."
Mike Lockwood [Tue, 23 Feb 2010 04:39:24 +0000 (20:39 -0800)]
Merge "Don't start location providers until the system is ready."

14 years agoMerge "Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade...
Oscar Montemayor [Tue, 23 Feb 2010 02:16:32 +0000 (18:16 -0800)]
Merge "Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path."

14 years agoAdd ability to run tests restricted to given annotation.
Brett Chabot [Fri, 19 Feb 2010 17:57:11 +0000 (09:57 -0800)]
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

14 years agoMerge "Quick fix layout test path problems"
Guang Zhu [Tue, 23 Feb 2010 01:50:31 +0000 (17:50 -0800)]
Merge "Quick fix layout test path problems"

14 years agoQuick fix layout test path problems
Guang Zhu [Tue, 23 Feb 2010 00:16:24 +0000 (16:16 -0800)]
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.

14 years agoDon't start location providers until the system is ready.
Mike Lockwood [Mon, 22 Feb 2010 21:36:44 +0000 (16:36 -0500)]
Don't start location providers until the system is ready.

Change-Id: Id545e95705e59ffbaaab8a679a1b7df488813101
BUG: 2461320

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoremove a dependency of surfaceflinger on libskia
Mathias Agopian [Mon, 22 Feb 2010 11:15:57 +0000 (03:15 -0800)]
remove a dependency of surfaceflinger on libskia

libskia was only used for a small part of SkTransform. We now implement
Transform is surfaceflinger directly.

14 years agoFix bug 2183276: Synchronize all mManagedCursors accesses.
Makoto Onuki [Mon, 22 Feb 2010 21:26:59 +0000 (13:26 -0800)]
Fix bug 2183276: Synchronize all mManagedCursors accesses.

14 years agoMerge "beging np2 extension check work."
Jason Sams [Tue, 23 Feb 2010 01:06:21 +0000 (17:06 -0800)]
Merge "beging np2 extension check work."

14 years agoMerge "Calling super.finalize() in finalize() methods. Also cleanup code, mostly...
Romain Guy [Tue, 23 Feb 2010 01:01:41 +0000 (17:01 -0800)]
Merge "Calling super.finalize() in finalize() methods. Also cleanup code, mostly removing unused handlers and casts."

14 years agoMerge "Prevent crash in AbsSpinner when the selection is out of sync. Bug #196253"
Romain Guy [Tue, 23 Feb 2010 01:01:26 +0000 (17:01 -0800)]
Merge "Prevent crash in AbsSpinner when the selection is out of sync. Bug #196253"

14 years agoPrevent crash in AbsSpinner when the selection is out of sync.
Romain Guy [Tue, 23 Feb 2010 00:48:47 +0000 (16:48 -0800)]
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.

14 years agoMerge "Show the USB mass storage UI as soon as USB is connected."
Daniel Sandler [Tue, 23 Feb 2010 00:46:08 +0000 (16:46 -0800)]
Merge "Show the USB mass storage UI as soon as USB is connected."

14 years agoMerge "Standard alert dialogs overscroll only when content scrolls"
Adam Powell [Tue, 23 Feb 2010 00:36:38 +0000 (16:36 -0800)]
Merge "Standard alert dialogs overscroll only when content scrolls"

14 years agoMerge "Properly unload the renderer shared library after the renderer goes away."
Andreas Huber [Tue, 23 Feb 2010 00:34:32 +0000 (16:34 -0800)]
Merge "Properly unload the renderer shared library after the renderer goes away."

14 years agoMerge "Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds."
Brad Fitzpatrick [Tue, 23 Feb 2010 00:32:25 +0000 (16:32 -0800)]
Merge "Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds."

14 years agoCalling super.finalize() in finalize() methods.
Romain Guy [Tue, 23 Feb 2010 00:29:10 +0000 (16:29 -0800)]
Calling super.finalize() in finalize() methods.
Also cleanup code, mostly removing unused handlers and casts.

14 years agoFix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path.
Oscar Montemayor [Tue, 23 Feb 2010 00:12:07 +0000 (16:12 -0800)]
Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path.

14 years agoMerge "Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE, but...
Gloria Wang [Tue, 23 Feb 2010 00:08:28 +0000 (16:08 -0800)]
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."

14 years agoFix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE,
Gloria Wang [Mon, 22 Feb 2010 23:56:21 +0000 (15:56 -0800)]
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.

14 years agoProperly unload the renderer shared library after the renderer goes away.
Andreas Huber [Mon, 22 Feb 2010 19:24:01 +0000 (11:24 -0800)]
Properly unload the renderer shared library after the renderer goes away.

14 years agobeging np2 extension check work.
Jason Sams [Mon, 22 Feb 2010 23:37:51 +0000 (15:37 -0800)]
beging np2 extension check work.

14 years agoMerge "This hardware video decoder lies about its required input buffer sizes allocat...
Andreas Huber [Mon, 22 Feb 2010 23:32:14 +0000 (15:32 -0800)]
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."

14 years agoStandard alert dialogs overscroll only when content scrolls
Adam Powell [Mon, 22 Feb 2010 23:18:14 +0000 (15:18 -0800)]
Standard alert dialogs overscroll only when content scrolls

14 years agoReduce SQLiteDatabase and ContentResolver EventLog logging thresholds.
Brad Fitzpatrick [Mon, 22 Feb 2010 23:17:49 +0000 (15:17 -0800)]
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...)

14 years agoThis hardware video decoder lies about its required input buffer sizes allocating...
Andreas Huber [Mon, 22 Feb 2010 22:58:45 +0000 (14:58 -0800)]
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

14 years agoMerge "remove a dependency of GraphicBuffer (libui) on Parcel (libbinder)."
Mathias Agopian [Mon, 22 Feb 2010 22:39:55 +0000 (14:39 -0800)]
Merge "remove a dependency of GraphicBuffer (libui) on Parcel (libbinder)."

14 years agoMerge "Fix bug where calling getButton(int) returns null."
Romain Guy [Mon, 22 Feb 2010 22:17:52 +0000 (14:17 -0800)]
Merge "Fix bug where calling getButton(int) returns null."

14 years agoMerge "Better file permissions enforcement on system keystore."
Oscar Montemayor [Mon, 22 Feb 2010 22:15:00 +0000 (14:15 -0800)]
Merge "Better file permissions enforcement on system keystore."

14 years agoMerge "Don't switch layout modes in AbsListView#onTouchModeChanged() Don't stomp...
Adam Powell [Mon, 22 Feb 2010 22:14:46 +0000 (14:14 -0800)]
Merge "Don't switch layout modes in AbsListView#onTouchModeChanged() Don't stomp mResurrectToPosition for LAYOUT_SPECIFIC in AbsListView#hideSelector()"

14 years agoFix bug where calling getButton(int) returns null.
Romain Guy [Mon, 22 Feb 2010 22:11:40 +0000 (14:11 -0800)]
Fix bug where calling getButton(int) returns null.

Fixes external bug http://code.google.com/p/android/issues/detail?id=6360

14 years agoShow the USB mass storage UI as soon as USB is connected.
Daniel Sandler [Mon, 22 Feb 2010 20:08:41 +0000 (15:08 -0500)]
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

14 years agoAlso fix the API description file after UI_MODE_SERVICE rename.
Tobias Haamel [Mon, 22 Feb 2010 21:25:33 +0000 (22:25 +0100)]
Also fix the API description file after UI_MODE_SERVICE rename.

14 years agoMerge "MountService: Force unmount when enabling ums"
San Mehat [Mon, 22 Feb 2010 21:21:58 +0000 (13:21 -0800)]
Merge "MountService: Force unmount when enabling ums"

14 years agoMountService: Force unmount when enabling ums
San Mehat [Mon, 22 Feb 2010 19:39:16 +0000 (11:39 -0800)]
MountService: Force unmount when enabling ums

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "fix race condition introduced by CL https://android-git.corp.google.com/g...
Vasu Nori [Mon, 22 Feb 2010 20:58:44 +0000 (12:58 -0800)]
Merge "fix race condition introduced by CL https://android-git.corp.google.com/g/40395"

14 years agoMerge "Fix missing UI_MODE_SERVICE rename."
Dianne Hackborn [Mon, 22 Feb 2010 20:57:41 +0000 (12:57 -0800)]
Merge "Fix missing UI_MODE_SERVICE rename."

14 years agoMerge "Don't start global search from system dialogs"
Bjorn Bringert [Mon, 22 Feb 2010 20:57:13 +0000 (12:57 -0800)]
Merge "Don't start global search from system dialogs"

14 years agoFix missing UI_MODE_SERVICE rename.
Tobias Haamel [Mon, 22 Feb 2010 20:54:05 +0000 (21:54 +0100)]
Fix missing UI_MODE_SERVICE rename.

14 years agoDon't start global search from system dialogs
Bjorn Bringert [Mon, 22 Feb 2010 20:48:57 +0000 (20:48 +0000)]
Don't start global search from system dialogs

Also, set FLAG_ACTIVITY_NEW_TASK to allow launching
global search from non-activity contexts.

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

Change-Id: I833d5b851f0127fb69165fbfc7d1ee190b320401

14 years agoManager for controlling the UI modes.
Tobias Haamel [Fri, 19 Feb 2010 00:15:43 +0000 (16:15 -0800)]
Manager for controlling the UI modes.

The ui modes can be controlled with the UiModeManager class, which
is can be retrieved as a system service via getSytemService(Context.UIMODE_SERVICE).

The class is necessary so that CarHome can be unbundled and other apps can
disable the car mode. Its currently a hidden class, since I'm not sure if this
is the best way to provide this functionality to the user.

14 years agofix race condition introduced by CL https://android-git.corp.google.com/g/40395
Vasu Nori [Mon, 22 Feb 2010 20:28:16 +0000 (12:28 -0800)]
fix race condition introduced by CL https://android-git.corp.google.com/g/40395

14 years agoMerge "Fix issue #2438980: Implement package watcher for voice recognizer service...
Dianne Hackborn [Mon, 22 Feb 2010 20:18:01 +0000 (12:18 -0800)]
Merge "Fix issue #2438980: Implement package watcher for voice recognizer service setting"

14 years agoMove new sound effects to the system stream.
Daniel Sandler [Sat, 20 Feb 2010 06:04:57 +0000 (01:04 -0500)]
Move new sound effects to the system stream.

Change-Id: I11cfa6495abeb0193b1a3929ec54f0386cfe9ed2

14 years agoUse Java API from xml configuration in the test application
James Dong [Tue, 16 Feb 2010 22:38:23 +0000 (14:38 -0800)]
Use Java API from xml configuration in the test application

14 years agoFix issue #2438980: Implement package watcher for voice recognizer service setting
Dianne Hackborn [Sat, 20 Feb 2010 01:02:21 +0000 (17:02 -0800)]
Fix issue #2438980: Implement package watcher for voice recognizer service setting

I am getting tired of writing package monitor code, realized this is missing in
a number of places, and at this point it has gotten complicated enough that I
don't think anyone actually does it 100% right so:

Introducing PackageMonitor.

Yes there are no Java docs.  I am still playing around with just what this
thing is to figure out what makes sense and how people will use it.  It is
being used to fix this bug for monitoring voice recognizers (integrating the
code from the settings provider for setting an initial value), to replace
the existing code for monitoring input methods (and fix the bug where we
wouldn't remove an input method from the enabled list when it got
uninstalled), to now monitor live wallpaper package changes (now allowing
us to avoid reverting back to the default live wallpaper when the current
one is updated!), and to monitor device admin changes.

Also includes a fix so you can't uninstall an .apk that is currently enabled
as a device admin.

Also includes a fix where the default time zone was not initialized early
enough which should fix issue #2455507 (Observed Google services frame work crash).

In addition, this finally introduces a mechanism to determine if the
"force stop" button should be enabled, with convenience in PackageMonitor
for system services to handle it.  All services have been updated to support
this.  There is also new infrastructure for reporting battery usage as an
applicatin error report.

14 years agoDon't switch layout modes in AbsListView#onTouchModeChanged()
Adam Powell [Thu, 18 Feb 2010 18:35:05 +0000 (10:35 -0800)]
Don't switch layout modes in AbsListView#onTouchModeChanged()
Don't stomp mResurrectToPosition for LAYOUT_SPECIFIC in AbsListView#hideSelector()

14 years agoam 8978547f: am f5fe3949: Fix issue 2459650.
Eric Laurent [Mon, 22 Feb 2010 19:19:51 +0000 (11:19 -0800)]
am 8978547f: am f5fe3949: Fix issue 2459650.

Merge commit '8978547f254b6b6ba2e322794aa044803f3edc2a'

* commit '8978547f254b6b6ba2e322794aa044803f3edc2a':
  Fix issue 2459650.

14 years agoBetter file permissions enforcement on system keystore.
Oscar Montemayor [Mon, 22 Feb 2010 19:16:51 +0000 (11:16 -0800)]
Better file permissions enforcement on system keystore.

14 years agoam f5fe3949: Fix issue 2459650.
Eric Laurent [Mon, 22 Feb 2010 19:13:08 +0000 (11:13 -0800)]
am f5fe3949: Fix issue 2459650.

Merge commit 'f5fe3949f5db69b19ce3fac7abce2088106f2e2b' into eclair-plus-aosp

* commit 'f5fe3949f5db69b19ce3fac7abce2088106f2e2b':
  Fix issue 2459650.

14 years agoMerge "Ignore touch down events near the edge of the screen for the purposes of pulli...
Joe Onorato [Mon, 22 Feb 2010 18:56:18 +0000 (10:56 -0800)]
Merge "Ignore touch down events near the edge of the screen for the purposes of pulling down the windowshade."

14 years agoIgnore touch down events near the edge of the screen for the purposes of pulling...
Joe Onorato [Mon, 22 Feb 2010 18:52:11 +0000 (10:52 -0800)]
Ignore touch down events near the edge of the screen for the purposes of pulling down the
windowshade.

This makes it happen less often when you pick up the device or push open the keyboard.

14 years agoMerge "Don't let email addresses in database names get into the EventLog."
Brad Fitzpatrick [Mon, 22 Feb 2010 17:10:19 +0000 (09:10 -0800)]
Merge "Don't let email addresses in database names get into the EventLog."

14 years agoDon't let email addresses in database names get into the EventLog.
Brad Fitzpatrick [Fri, 19 Feb 2010 18:59:01 +0000 (10:59 -0800)]
Don't let email addresses in database names get into the EventLog.

Because some apps make SQLite database names containing email
addresses, we take care not to log those email addresses in the
EventLog, so other apps with READ_LOGS access can't read them.

14 years agoMerge "In DumpRenderTree, skip tests for which we have the wrong results"
Steve Block [Mon, 22 Feb 2010 16:18:20 +0000 (08:18 -0800)]
Merge "In DumpRenderTree, skip tests for which we have the wrong results"

14 years agoMerge "Add new action for launching the user's music player app."
Daniel Sandler [Mon, 22 Feb 2010 14:32:25 +0000 (06:32 -0800)]
Merge "Add new action for launching the user's music player app."

14 years agoIn DumpRenderTree, skip tests for which we have the wrong results
Steve Block [Fri, 5 Feb 2010 10:53:04 +0000 (10:53 +0000)]
In DumpRenderTree, skip tests for which we have the wrong results

Currently, the list of tests with incorrect results is not used.

Change-Id: I5d3ab9bde6201c2574f08c7c87efa4873ee6fdd1

14 years agoChange the text for the browser downloads and history views.
Leon Scroggins [Fri, 19 Feb 2010 20:17:21 +0000 (15:17 -0500)]
Change the text for the browser downloads and history views.

Fix for http://b/issue?id=2450232

14 years agoAdd new action for launching the user's music player app.
Daniel Sandler [Thu, 18 Feb 2010 21:00:43 +0000 (16:00 -0500)]
Add new action for launching the user's music player app.

android.intent.action.MUSIC_PLAYER

http://b/2237931

14 years agoFix issue 2459650.
Eric Laurent [Mon, 22 Feb 2010 09:37:19 +0000 (01:37 -0800)]
Fix issue 2459650.

This change fixes a problem where an unwanted tone is generated by audio policy manager when a MT call is answered.
This is because of a policy that replaces high visibility system sounds (ringtones, alarms...) by a beep when in call.
There is a transitory phase while the call is being answered where the phone state is changed to IN_CALL but the
ringtone is still playing. The audio policy manager then mutes the end of the ringtone and starts playing a beep
in replacement because the ringtone is categorized as high visibility.

The fix consists in changing the ringtone stream type from high visibility to low visibility. This is not a problem as
the only actual use case where a ringtone would be generated while in call is if another call is received.
But in this case, the phone system does not generate a ringtone but a call waiting tone instead.
It is therefore not required to handle a ringtone as a high visibiltiy tone that must be somehow signaled to the user
while in call.

14 years agoremove a dependency of GraphicBuffer (libui) on Parcel (libbinder).
Mathias Agopian [Fri, 12 Feb 2010 01:30:52 +0000 (17:30 -0800)]
remove a dependency of GraphicBuffer (libui) on Parcel (libbinder).

Add a Flattenable interface to libutils which can be used to flatten
an object into bytestream + filedescriptor stream.
Parcel is modified to handle Flattenable. And GraphicBuffer implements
Flattenable.

Except for the overlay classes libui is now independent of libbinder.

14 years agoMerge "Increase the sleep time to fix testTakePicture."
Wu-cheng Li [Mon, 22 Feb 2010 07:18:45 +0000 (23:18 -0800)]
Merge "Increase the sleep time to fix testTakePicture."

14 years agoIncrease the sleep time to fix testTakePicture.
Wu-cheng Li [Mon, 22 Feb 2010 07:06:47 +0000 (15:06 +0800)]
Increase the sleep time to fix testTakePicture.

One of the build needs 5 seconds for snapshot in low light. I don't want to
increase the sleep time, but this is what we have now.

bug:2141755

14 years agoFix code coverage output message when running tests in non-raw mode.
Brett Chabot [Thu, 18 Feb 2010 23:42:13 +0000 (15:42 -0800)]
Fix code coverage output message when running tests in non-raw mode.

Bug 2082804

14 years agoRetry test-runner tests move.
Brett Chabot [Fri, 19 Feb 2010 18:49:27 +0000 (10:49 -0800)]
Retry test-runner tests move.

This time change the frameworks makefile so it only includes test-runner/src
in the public API.