19915 Commits

Author SHA1 Message Date
Jack Palevich
3e5a5826c6 Fix glCopyTexSubImage2D inverted texture bug.
This bug only affects the software OpenGL ES
driver.
2010-03-12 17:32:26 -08:00
Jim Miller
a027c95e79 Fix 2428368: Fix most of the lockscreen orientation refresh bugs
This change removes the legacy notification of orientation and configuration changed events
from KeyguardUpdateMonitor and moves them into the individual activities.  This was necessary
to guarantee order of events.

In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen,
PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and
forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration.

Change-Id: I703daf3e91bc6588e87c844a3ed3d259a6b8ecdf
2010-03-12 17:32:01 -08:00
Robert Greenwalt
50f1c4b709 Resync with Telephony after losing Phone service.
Bug shows we lost contact with the phone service.  We used to leave the notion of enabled alone
in this case, but that can lead to being out of sync (the mobile data connection may be
alive or come alive but if we think it is dead we ignore it).  Changing our
notion of its enabled-ness to 'enabled' means we'll pay attention to its messages going forward,
and since after a reboot it starts enabled we'll actually be in sync.

bug:2323057
Change-Id: Ie080b50d764e6879e712507aceb68f585f12f94e
2010-03-12 17:27:41 -08:00
Dianne Hackborn
9dc1036d96 Merge "resolved conflicts for merge of 2ecce34f to master" 2010-03-12 17:07:48 -08:00
Elliott Hughes
5c6d6d5d16 Merge "Replace the outdated table with links to the benchmarks." 2010-03-12 16:52:58 -08:00
Wink Saville
e04c0275d7 Merge "Fix data error handling." 2010-03-12 16:51:21 -08:00
Dianne Hackborn
5c83a5f2cc resolved conflicts for merge of 2ecce34f to master
Change-Id: Ic4e38199beaf8c16f9d28ac5296e8aaa61788b36
2010-03-12 16:46:46 -08:00
Eric Fischer
cf6773de30 Merge "Add documentation for LeadingMarginSpan2." 2010-03-12 16:43:07 -08:00
Elliott Hughes
cb6b7c1988 Replace the outdated table with links to the benchmarks.
Also a few more slight changes of emphasis.

Change-Id: If28f3389e7431f1ea37ffb118d8e0525fd2a00fd
2010-03-12 16:40:02 -08:00
Nicolas Catania
9627c36a32 Merge "ListActivity.onDestroy, remove any pending callbacks." 2010-03-12 15:55:51 -08:00
Amith Yamasani
747d2d4b9e Use a Go button instead of a magnifying glass in the keyboard for in-app search.
bug: 2197781
2010-03-12 15:42:45 -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
Eric Fischer
ec8b102190 Add documentation for LeadingMarginSpan2.
Bug 2420334

Change-Id: Ica42cc34a938a5ec529da16804d1f0e6fddcc249
2010-03-12 15:35:41 -08:00
Wink Saville
abeff9479f Fix data error handling.
In change I5776324a I made DataConnection.reset asynchronous.
That was a mistake as callers to cleanUpConnection assumed
it was synchronous. Added DataConnection.resetSynchronously
as a fix, someday the trackers will become asynchronous and
this won't be necessary.

Change-Id: I4669901e5c47a712212bb388c35fbb9f9ff603a7
2010-03-12 15:31:56 -08:00
Andreas Huber
e3452d3fe1 Fix the media metadata retriever (tests). The native constants must match those published at the java layer.
Change-Id: Ic1efed709e4d93c61913b231a8cd3ef1074f8ca0
2010-03-12 15:08:52 -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