19799 Commits

Author SHA1 Message Date
Nicolas Catania
9627c36a32 Merge "ListActivity.onDestroy, remove any pending callbacks." 2010-03-12 15:55:51 -08:00
Dianne Hackborn
061d58a101 Fix problem with starting a translucent activity in onCreate().
Fixes issue #2437252: Starting activity by means of startActivityForResult
causes 5 seconds delay if "android:windowIsTranslucent" is true

The optimization to avoid showing an activity window when a new
activity is being started was a little too aggressive.  Now it
avoids doing this if there is not actually a fullscreen activity
on top to cover it.

Change-Id: I630e37a1f1d3b874b5a25572cbf887cebc2e3e91
2010-03-12 15:41:24 -08:00
Nicolas Catania
f767e75212 ListActivity.onDestroy, remove any pending callbacks.
Added a onDestroy method to do the callbacks cleanup.

Apologies for the line end whitespaces my editor removed
automatically.

Bug:2090959
Change-Id: Id3ea4b8fc38e55c1b1ef78b3ec5b81cb02ab5b69
2010-03-12 15:37:43 -08:00
Adam Powell
069b3cfcd4 Merge "Make sure visible View state is updated before dispatching clicks" 2010-03-12 14:58:32 -08:00
Ken Shirriff
3646d056ce Merge "Make sure Browser cursors are closed" 2010-03-12 14:52:24 -08:00
Adam Powell
a35d7687dd Make sure visible View state is updated before dispatching clicks
Change-Id: If2619ffa760be708efe8b0d2d04e17eb0dc9375e
2010-03-12 14:48:13 -08:00
Andreas Huber
d27e8d2bef Merge "Boost OMX callback dispatcher thread priority to prevent audio playback stuttering under increased system load" 2010-03-12 14:40:29 -08:00
Andreas Huber
98b29565b9 Boost OMX callback dispatcher thread priority to prevent audio playback stuttering under increased system load
Change-Id: I1b5339b4d39bd964f286cdf1369d0e0492a465d7
related-to-bug: 2492002
2010-03-12 14:33:12 -08:00
Ken Shirriff
29c228e074 Make sure Browser cursors are closed
finalizer errors were occurring due to unclosed cursors, maybe
causing ANRs.

Change-Id: Ibe75f7dbe7b591023a1560a5ffbfe84fac694ef2
2010-03-12 14:31:16 -08:00
Kenny Root
b9b2f55ad2 Merge "Give an 9-patch error on too many rows and columns" 2010-03-12 14:16:56 -08:00
Kenny Root
9e652a67ca Give an 9-patch error on too many rows and columns
When you have too many rows and columns, there are not enough colors in
the 9-patch private metadata to represent them. Instead of crashing
aapt, this change gives the user an error message telling them why it's
invalid.

Change-Id: I5e7bd59472a3a2eafa7cbc263792458cce2b5594
2010-03-12 14:12:14 -08:00
Adam Powell
b9ca362e47 Merge "Improvements to ScaleGestureDetector" 2010-03-12 14:11:46 -08:00
Grace Kloba
cd00e07b56 Merge "Expose smart-zoom, or centerFitRect to native." 2010-03-12 13:58:03 -08:00
Daniel Lehmann
63e914096e Framework changes to allow VCards containing multiple entries
Bug:2501468

Change-Id: I004997c6ed9351e2600e7446615af9e60a14fda8
2010-03-12 13:44:31 -08:00
Grace Kloba
e8300a1dc5 Expose smart-zoom, or centerFitRect to native.
Clean up the old centerPluginOnScreen so it can be
used to center fit any rectangle on the screen.

Fix http://b/issue?id=2510670
2010-03-12 13:32:55 -08:00
Irfan Sheriff
7b00978dc7 Run WifiWatchdogServiceThread only on wifi enable
Bug: 2508997
Change-Id: Ib79ee25fcc8e39e9a1d6c5b9ef9681bc00b6d006
2010-03-12 13:16:47 -08:00
Dan Egnor
a455d19486 Record some logcat output with crashes, ANRs, etc..
Shelling out to logcat from the system server makes me queasy,
so this is turned off by default -- it must be enabled individually
for each error type (system_app_anr, etc) via a secure settings
value (which I plan to poke into from gservices for internal use).

Even when enabled, it happens in a side thread, unless the system
server is about to die anyway (system server restart).

Change-Id: Id6d88bcd78d3625f0364a5fe9c771046601a5a14
2010-03-12 13:01:45 -08:00
Yu Shan Emily Lau
e25bf5dc63 Merge "Fix the bug that it should write the zero diff to the output file when the actual diff is negative." 2010-03-12 12:09:52 -08:00
Yu Shan Emily Lau
adc238a97c Fix the bug that it should write the zero diff to the output file when the actual diff is negative.
Change-Id: I5d7c12b0ad9c0286658067cacb7f385626a3107f
2010-03-12 12:04:30 -08:00
Robert Greenwalt
bb51d9feea Fix UMS broadcasts in Tethering.
Now Tethering gets notified of UMS changes.  Turns out UMS Broadcasts
have attached data with a file scheme and the filter had to be set
correctly.

bug:2504908
Change-Id: I67d979000196c90068fe59846b4fa2bbf6ea00d8
2010-03-12 11:42:09 -08:00
Kenny Root
10362ab9d6 Add missing license notices on test classes
Change number and file origin info

34691-p9 frameworks/base/test-runner/src/android/test/ProviderTestCase2.java
48099-p9 frameworks/base/test-runner/src/android/test/RenamingDelegatingContext.java
40550-p9 frameworks/base/test-runner/src/android/test/BundlePrinter.java
87783-p9 frameworks/base/test-runner/src/android/test/IsolatedContext.java
34691-p9 frameworks/base/test-runner/src/android/test/ProviderTestCase.java

Change-Id: I1fea36db24e73f91ffdf43b84ff73be55478b53a
2010-03-12 11:14:55 -08:00
Yu Shan Emily Lau
d3d9b85ef4 Merge "Update the new activity name." 2010-03-12 11:10:56 -08:00
Kenny Root
842f9df2c7 Merge "Add missing licensing headers for test classes" 2010-03-12 11:04:13 -08:00
Dianne Hackborn
a839703e0d Fix issue #2483335: android.content.res.cts.ConfigurationTest test's are failing
Change-Id: Ic2d10809c88f24d84e58d9f2edfd95912af29038
2010-03-12 11:01:06 -08:00
Kenny Root
1a5a321759 Add missing licensing headers for test classes
Commit and file info:
33817-p9 frameworks/base/core/tests/coretests/src/android/util/LogTest.java
39945-p9 frameworks/base/core/tests/coretests/src/android/text/SpannableTest.java
39945-p9 frameworks/base/core/tests/coretests/src/android/text/SpannableStringBuilderTest.java
39945-p9 frameworks/base/core/tests/coretests/src/android/text/SpannableStringTest.java

Change-Id: I1aac616069b7c26a00153d00118ced289d802e44
2010-03-12 10:59:55 -08:00
Dianne Hackborn
9b3a4536b3 Merge "Fix: Retrieval of location to caclulate twilight" 2010-03-12 10:54:44 -08:00
Adam Powell
346c8fb036 Improvements to ScaleGestureDetector
Change-Id: I995bf7237a1de3ea194efdd21ed31156ff1c3c5b
2010-03-12 10:53:11 -08:00
Andreas Huber
34ec95de2f Merge "HTTPStream and HTTPDataSource now support cancellation of the connection process, AwesomePlayer takes advantage of this in cases where ::reset() or ::suspend() is called while in the preparation phase to bail out early. Also fixes in issue where the audio codec was not properly stopped if no audio player object ever took ownership." 2010-03-12 09:39:33 -08:00
Grace Kloba
45be271b5f Merge "If we can't over scroll horizontally, set vx to 0 in doFling. Otherwise if vx is greater than vy, as we pin x later in onOverscrolled(), the fling doesn't work as expected." 2010-03-12 09:38:49 -08:00
Grace Kloba
2563ffb84f If we can't over scroll horizontally, set vx to 0 in
doFling. Otherwise if vx is greater than vy, as we
pin x later in onOverscrolled(), the fling doesn't
work as expected.

Fix http://b/issue?id=2507550
2010-03-12 09:37:46 -08:00
Mike Lockwood
bac40307ba Merge "Fix problems with new PowerManager.reboot() implementation." 2010-03-12 09:37:44 -08:00
Wink Saville
7261128801 Merge "Make sure that pause dialing works even when screen is off." 2010-03-12 09:35:43 -08:00
Steve Block
e898bdfe85 Merge "Puts two regex layout tests back on the DumpRenderTree skipped list" 2010-03-12 09:35:37 -08:00
Mike Lockwood
b62f959430 Fix problems with new PowerManager.reboot() implementation.
ShutdownThread.reboot() does return so we need to block after calling it
to prevent PowerManager.reboot() from returning.

Since PowerManager.reboot() can now take significantly longer than before,
we now ignore ANRs during shutdown.

Change-Id: Ibceeb265ae382567215f6a399108d8be3a7bbc95
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-12 12:35:24 -05:00
Wink Saville
82c0845978 Make sure that pause dialing works even when screen is off.
bug: 2200086
Change-Id: Ib8c73ce4bca293811ba681c558c37322125c511f
2010-03-12 09:32:58 -08:00
Cary Clark
a91e972752 missing checks for native class before calling native code
Change-Id: I1dc77c10e7aff68f8327708291fcff5551722703
http://b/2509668
2010-03-12 12:14:07 -05:00
Grace Kloba
313363df86 Merge "If the Picture is not ready, just draw the background and return. This should help to avoid the flash in gm." 2010-03-12 09:13:01 -08:00
Wink Saville
3f80eab499 Merge "Add Copyright assignement." 2010-03-12 09:10:44 -08:00
Andreas Huber
edbb4d8f39 HTTPStream and HTTPDataSource now support cancellation of the connection process, AwesomePlayer takes advantage of this in cases where ::reset() or ::suspend() is called while in the preparation phase to bail out early. Also fixes in issue where the audio codec was not properly stopped if no audio player object ever took ownership.
Change-Id: I6d73defe6d276693853a469db267bb2668d07af5
related-to-bugs: 2475845,2414536
2010-03-12 09:05:10 -08:00
Wink Saville
cea764088d Add Copyright assignement.
bug: 2510419
Change-Id: I78355d89e7a9362f918a03c6fc5457209ea4490a
2010-03-12 09:04:48 -08:00
Kenny Root
163e81d3af Merge "Add missing license notices to files" 2010-03-12 08:55:42 -08:00
Grace Kloba
e47ac47d6c If the Picture is not ready, just draw the background
and return. This should help to avoid the flash in gm.

Fix http://b/issue?id=2494990
2010-03-12 08:55:26 -08:00
Dan Egnor
34e8e47b83 Merge "Dump the phone process stack (as well as the system process) on watchdog reset." 2010-03-12 08:50:12 -08:00
Kenny Root
f8d0f095e3 Add missing license notices to files
Change-Id: Ie46176940810bd5001f7650a381c1c3c90a3718b
2010-03-12 08:27:12 -08:00
Amith Yamasani
e1748c6714 Merge "Fix for 2175289 : Can't get keyboard in search dialog after switching to landscape" 2010-03-12 06:47:00 -08:00
Bernd Holzhey
ba9ab18318 Fix: Retrieval of location to caclulate twilight
The provider determined by getBestProvider may not have a LastKnownLocation and
therefore the system might use a fake location, even if one provider will have
a location.

Change-Id: Iec4a377b141b0260af5611f51affa5f0c4a84ed2
2010-03-12 14:58:42 +01:00
Mike Lockwood
a028a4b5e8 Merge "Fix LocationManager.getProvider() API breakage." 2010-03-12 05:30:35 -08:00
Mike Lockwood
223e84d733 Fix LocationManager.getProvider() API breakage.
getProvider() needs to work for providers that are disabled.
It should only return null if the provider does not exist.

Change-Id: Ieb9fbd8965a10329377bc8ac9d8061cebe519ab5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-12 07:51:06 -05:00
Steve Block
b5522301a0 Puts two regex layout tests back on the DumpRenderTree skipped list
fast/regex/test1.html and fast/regex/slow.html were removed from the skipped
list in https://android-git.corp.google.com/g/#change,43908

However, they cause DumpRenderTree to hang when run with V8, so are added back
to the list pending further investigation.

Bug: 2509394
Change-Id: I83c361c99fcd61e940a169f1ed00614529af48ff
2010-03-12 11:04:54 +00:00
Dianne Hackborn
a2fd9d1786 Fix NPE when clearing preferred packages.
Fixes issue #2507124:
cts.PackageManagerRequiringPermissionsTest:testClearPackagePreferredActivities
is failing with NPE

Also introduce some compatibility code to simple ignore calls to set
preferred packages from old applications, and changes some package manager
logs to Slog.

Change-Id: Id3f98ac8e106da526ba4c12879a9ddaabf28f462
2010-03-11 23:40:24 -08:00