57827 Commits

Author SHA1 Message Date
Romain Guy
d3462ad713 Merge "Prevent crash when using <em> or <strong> in spanned strings Bug #5258853" 2011-09-06 10:55:53 -07:00
Romain Guy
dd808c0bd4 Prevent crash when using <em> or <strong> in spanned strings
Bug #5258853

Change-Id: Ifde1efe9ba3b44cfa0be55d51b2c9696cbe096f5
2011-09-06 10:54:46 -07:00
Daniel Sandler
1a21f0ab60 Use holo_blue_light for statusbar clocks.
Also use the same style for the date in the phone
notification panel (which already had the same net
appearance).

Bug: 5231182
Change-Id: Ie0b44c2b9021a4f6ad56b0e1a78fdc9d8cf16f88
2011-09-06 13:32:25 -04:00
Chris Craik
e4dbe88b19 Merge "Notify native that scrolling has stopped correctly" 2011-09-06 10:03:25 -07:00
James Dong
351f44af54 Merge "Don't overwrite pending port setting change if there are more than one port setting change event." 2011-09-06 09:54:43 -07:00
satok
38aac04743 Do not show the label for auto subtypes
Change-Id: Ie62d0b83f2fcb2c93d3935bcaa5121d2adc56b7d
2011-09-06 14:41:33 +09:00
Svetoslav Ganov
aa56534722 AbsListView does not populate accessibility events correctly.
The toIndex of accessibility events fired from a AbsListView
is exclusive but should be inclusive i.e. it was reported one
more that it has to be.

bug:5256286

Change-Id: I496959fdfb6760b0c74899730c4cc558e89234a6
2011-09-05 16:41:51 -07:00
Jamie Gennis
08b997c742 Merge "SurfaceTexture: fix a test deadlock" 2011-09-05 14:51:20 -07:00
Jamie Gennis
2e6f49cc81 Merge "MediaPlayer: remove the setTexture method" 2011-09-05 14:50:33 -07:00
Svetoslav Ganov
66b191dad0 Increasing the tap radius for the handle in MultiWaveView to improve accessibility
bug:5253968

Change-Id: Ibe5a3a2453db1bbeaf8e818430685b48460ab06c
2011-09-05 14:26:26 -07:00
Ken Wakasa
05dbb65dfa Two line item for the IME switcher dialog.
bug: 5098770
Change-Id: I2b955973e7f223d8c98d8dac6aaa657a7a31b555
2011-09-06 00:07:03 +09:00
satok
dbfba8560d Add a function to check auxiliary ime.
Change-Id: Ibda3d0a11c7dd77aa1304d34fc858bb7d941c626
2011-09-05 19:19:12 +09:00
Chih-Chung Chang
09bb20b5f6 Merge "Fix 5240036: Generate a reasonable bitrate for intermediate clips." 2011-09-04 19:36:20 -07:00
Svetoslav Ganov
12a024ca68 Tuning the TouchExplorer
1. Tuned the max angle between two moving fingers in touch
   exploration mode for a gesture to be considered a drag.
   The previous value was too aggressive and it was fairly
   easy for the user to get out of dragging state if she
   ingreases the distance between her fingers.

bug:5223787

2. Before clicking the explorer was sending hover enter and
   exit resulting in firing the corresponding accessibility
   events which leads to announcement of the content under
   the tap that triggered the click. However, the click is
   actually performed on the last touch explored location
   (if in the distance slop of course) instead of the actual
   tapping pointer location. Before fixing that the user was
   confused since he was hearing announcement of one content
   but actually was clicking on something else.

bug:5225721

Change-Id: I79fec704878f98c95f181bf8a9647e0bb1bd10ef
2011-09-03 20:03:35 -07:00
David Turner
5c72e583f5 Merge "opengl: EGL: special case for GLES emulation" 2011-09-03 03:44:18 -07:00
Jim Miller
37c5cd6ee9 Merge "Fix the build." 2011-09-02 19:44:50 -07:00
Jim Miller
cb30cd2de6 Fix the build.
Change-Id: I3782021299ac5da5af94926bdf49618d966ee02a
2011-09-02 19:43:44 -07:00
Michael Jurka
faa790c4f5 Fix the pressed state for thumbnails in Recents
- pressed state is now in foreground
- also, keep drawing pressed drawable on long press

Change-Id: I1a2025b5a79a5bfd4aaacf5312d52404fc3361a1
2011-09-02 19:32:05 -07:00
Jim Miller
3d7467bd78 Merge "Fix 5185505: Update DevicePolicyManager to support weak biometric security." 2011-09-02 18:54:53 -07:00
Chris Craik
e2f3aee9d5 Notify native that scrolling has stopped correctly
bug:5255022
bug:5218838

When the view starts scrolling, we tell native so it can block updates until the
view stops scrolling. This change fixes an issue where wouldn't tell native that
we stopped scrolling because the view didn't have room to move.

Change-Id: I5f2eec31493570937f7b8b2992a85283de06fb60
2011-09-02 18:47:19 -07:00
Pannag Sanketi
b69d932434 Merge "Error check in queuebuffer in SurfaceTextureClient" 2011-09-02 18:40:04 -07:00
Stephen Hines
cb60fdca9b Add unit test for RS reference counting.
Change-Id: Id09cc28f02bba6484889ed53e60273119f7004cb
2011-09-02 18:21:06 -07:00
Jeff Sharkey
373a4f44e4 Merge "Make large_icon in notification catch touches." 2011-09-02 18:17:03 -07:00
Jeff Sharkey
847fd751a9 Make large_icon in notification catch touches.
If it doesn't catch touches, the stream is dropped on floor, leaving
no event stream for swiping to intercept.  Also connect up
NotificationClicker to large_icon.

Bug: 5068171
Change-Id: I51e74dd1cdc2749554c591432a48fad35de993ff
2011-09-02 18:14:34 -07:00
Fabrice Di Meglio
34d2eba560 Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it
Part 2

- make selection handles aware of the run direction

Change-Id: Idf41036de53d8968e7ae27eb87aea09e86bcd652
2011-09-02 18:03:21 -07:00
Pannag Sanketi
3814ff4b17 Fixing bug in SurfaceMediaSource_test
The test was making EGL calls once disconnected. Instead of calling
"disconnect" directly on the Surface, and EGL calls should be made to that
effect.

Change-Id: I21468ac8cbc2cb3145a49269e32a884736cd452e
2011-09-02 17:56:35 -07:00
Pannag Sanketi
e061795908 Error check in queuebuffer in SurfaceTextureClient
In queuebuffer, if the surfacetexture returns an error,
surfacetextureclient should check for that and pass on the error.

Change-Id: Ie6d70e779fac0702f372eb4df5ecb655280875ee
2011-09-02 17:45:50 -07:00
Adam Cohen
fead8f9767 Merge "Ensure appwidgets are loaded before usage." 2011-09-02 17:35:00 -07:00
Jim Miller
3e5d3fd7e1 Fix 5185505: Update DevicePolicyManager to support weak biometric security.
Change-Id: If0fa49908a10d8057b9398112d47eb968cc77060
2011-09-02 17:30:35 -07:00
Christopher Tate
8e294d4557 Fix backup-agent timeouts
Away in the misty span of very-long-ago, it was suggested that spinning
a separate thread to run the backup process was wasteful, and that it
could just run it inline on the dedicated HandlerThread that the
backup manager uses for its own operations.  That was indeed true,
except that the timeout management was also using delayed messages
to that handler.  You see where this is going: timeouts were never
actually being processed, with the effect that a badly-behaving
app's backup agent could lock up the entire backup / restore system
until the device was rebooted.

This is bad.

Backup operations are now driven as an asynchronous state machine:
each step (init, call one agent to obtain data, send resulting
data to the transport, finalize the backup) is handled as a formal
state transition on-looper.  No synchronous wait-for-completion
or -timeout is performed on any thread.

As an additional effect this greatly tightens up the serialization
and locking semantics.  We no longer have to worry about an in-
flight operation involving a standalone thread spinning off on
its own; everything is on the HandlerThread and can be coherently
manipulated from that perspective.

Along the way, this CL tightens up the per-agent error handling
logic.  Previously a single failed agent would abort the entire
backup process, tantamount to a transport-level failure.  This could
mean that the aforesaid badly-behaving app's agent could in effect
starve out other apps whose agents were routinely showing up later
in the queue.  There's some nondeterminism involved, but in practice
it could and did happen.  Furthermore, the failure case would
reschedule *immediately* in this case, because the transport itself
would see that all is well and sure, why not run a backup soon?
This, as you might imagine, causes battery-life issues.

Now we note that the single agent has failed, mark it for a future
repeat attempt, and process the rest of the queue normally, pretending
success at the transport level even though we didn't actually send
any data for that app.  This means that (a) we now finish running
backups for everything in the queue, (b) reschedule backups only for
those apps whose agents individually failed during this run, and
(c) perform the retry after the normal interval [typically on the
order of an hour] rather than immediately.

NOTE: this CL does not retool the restore code path, just backup.
Restore is similarly vulnerable to misbehaving apps, though, so a
future CL will address that bug vector.

Addresses bug 5074923

Change-Id: I67e3f8d06f322607881eaa4093de6d675b85ff2c
2011-09-02 17:21:09 -07:00
Dianne Hackborn
6b0c11da5a Merge "Fix issue #5150899: Call activity takes 15MB we never get back." 2011-09-02 17:18:32 -07:00
Adam Powell
a59e3146b7 Merge "Fix bug 5201420 - Appease the monkeys" 2011-09-02 17:01:28 -07:00
Adam Powell
e1bf486846 Fix bug 5201420 - Appease the monkeys
Make ListView.onFocusChanged more tolerant of missing adapters.

Change-Id: Icae1cfd02fe369d3fd0e3c6531adb973f44f3036
2011-09-02 16:56:57 -07:00
Chet Haase
44671725bf Merge "Fix artifact with LayoutTransitions on disappearing window." 2011-09-02 16:52:03 -07:00
Adam Powell
d857837df2 Merge "Fix bug 5231904 - Fix wobbly progress spinners" 2011-09-02 16:48:55 -07:00
Adam Powell
a1b92c5e8b Fix bug 5231904 - Fix wobbly progress spinners
Make ProgressBar maintain aspect ratio on indeterminate progress drawables.

Make RotateDrawable tolerate left/top bounds != 0.

Change-Id: Iee03030caa98f72a8745f1ae3fb0de108ff663d4
2011-09-02 16:37:41 -07:00
Michael Jurka
32041c1602 Merge "Click on whitespace dismisses Recents in landscape" 2011-09-02 16:35:54 -07:00
Michael Jurka
8064ec61d6 Merge "Use default thumbnail if getting app thumbnail fails" 2011-09-02 16:35:42 -07:00
Chet Haase
3c4ce72c4d Fix artifact with LayoutTransitions on disappearing window.
Logic in performTraversals() starts a transition running at the
proper time. But when a view's parent window goes away, this transition
may not start at that time because drawing gets canceled. But the
transition still hung off of the ViewRoot, waiting until some later
drawing operation to kick it off. This resulted in some weird animations
like the Recents panel appearing and having a single item animate off of it.

The fix is to delete pending transitions when drawing is skipped.

Change-Id: I3ab7702c16e069644a163424f977350743e2cecc
2011-09-02 16:10:43 -07:00
Eric Laurent
929827b819 Merge "Fix issue 5252593: any app can restart the runtime" 2011-09-02 16:05:03 -07:00
Michael Jurka
7725a4e307 Click on whitespace dismisses Recents in landscape
(was added previously for portrait, forgot to add for landscape)

Change-Id: I38161d00c65f753c17d25db8ed69f59f35b0d352
2011-09-02 16:00:34 -07:00
Eric Laurent
dca56b9432 Fix issue 5252593: any app can restart the runtime
Replace null device address string by empty sting.

Change-Id: I285c35f3345334e6d2190493b1a8a5aca1a361a4
2011-09-02 15:59:50 -07:00
Jamie Gennis
83fb94d188 MediaPlayer: remove the setTexture method
This change removes the MediaPlayer#setTexture method.  It has been
replaced with MediaPlayer#setSurface.

Change-Id: Iaecbbac7629d7092883f270694c5c67391f4ed6c
2011-09-02 15:48:52 -07:00
Michael Jurka
ccbc2f309e Merge "Fix a NPE in Recents" 2011-09-02 15:44:09 -07:00
Michael Jurka
9563cb813d Use default thumbnail if getting app thumbnail fails
Change-Id: If76a26d80f2327fe73bc18024c6b2c7eaab4d11d
2011-09-02 15:42:28 -07:00
Mathias Agopian
f743338c1e Merge "fix a bug that caused the off animation to not show sometimes" 2011-09-02 15:31:20 -07:00
Michael Jurka
21ce2d8cae Fix a NPE in Recents
Change-Id: I8fead3b20646e92add6acd49440db675a190baee
2011-09-02 15:28:06 -07:00
Scott Main
d6ede10984 Merge "cherrypick Change-Id: I253ff775829a80fec8e3d1c88ae85af1286a9300 docs: update dashboard stats; add codenames and release note links to version table" 2011-09-02 15:20:00 -07:00
Scott Main
6bddaae049 cherrypick Change-Id: I253ff775829a80fec8e3d1c88ae85af1286a9300
docs: update dashboard stats; add codenames and release note links to version table

Change-Id: I5f6d917fd7b331bbc6782d1df63cf6e76122e04d
2011-09-02 15:18:20 -07:00
Jeff Sharkey
890aaea2fb Merge "Show statusbar clock based on lockscreen status." 2011-09-02 15:07:19 -07:00