82 Commits

Author SHA1 Message Date
Romain Guy
604ed546b7 AI 143281: am: CL 142990 Fixes #1739360. SimpleCursorAdapter was calling (unnecessarily) toString() on the Cursor even in the case where a ViewBinder was being used. This could cause crashes when the cursor was currently on a blob. This change defers the String conversion to the case where no ViewBinder is used.
Original author: romainguy
  Merged from: //branches/donutburger/...

Automated import of CL 143281
2009-03-27 16:58:23 -07:00
Ed Heyl
a2debb356d AI 143278: Merge 142826: Add tutorial to platform. The tutorial can be launched with the new Intent ACTION_SYSTEM_TUTORIAL and
is available through Settings->About->System Tutorial

Automated import of CL 143278
2009-03-27 16:52:45 -07:00
Romain Guy
d9b7d24667 AI 143249: am: CL 142820 am: CL 142818 Fixes #1735278. Deep hierarchies could generate stack overflow exception due to new local variables introduces in Cupcake. This change removes 4 ints from the dispatchDraw/drawChild code path to save a bit of stack on deep hierarchies. This is a stop-gap measure but that's all we can/should do for now.
Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143249
2009-03-27 15:40:27 -07:00
Andreas Huber
059c446fbf AI 143244: am: CL 142801 am: CL 142799 Ensure thread exit resets mThread to null (synchronized with sListeners)
If sensors_data_poll failed the sensor thread would exit leaving
  mThread non-null, hence SensorManager would never again attempt
  to start the thread because it assumes that it's still running,
  compromising future sensor notifications.
  Original author: andih
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143244
2009-03-27 15:36:43 -07:00
Romain Guy
c4a5f87c7a AI 143240: am: CL 142790 am: CL 142788 Fixes #1730741. Marquee text was not always animated in context menus.
The reason for that bug was that the marquee could potentially be stopped/started as part of the layout workflow. Unfortunately TextView was relying on setFrame() being called after onMeasure() which is *not* always the case, especially when the widget is inside of a ListView. This change simply checks for the marquee restart flag in on the onDraw() method in case we skipped the setFrame() step.
  Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143240
2009-03-27 15:30:50 -07:00
Amith Yamasani
a565e5e3d0 Automated import from //branches/master/...@142936,142936 2009-03-26 10:19:09 -07:00
Grace Kloba
52cf58a2a4 Automated import from //branches/master/...@142846,142846 2009-03-25 20:05:44 -07:00
Nick Pelly
b8088b9bc9 Automated import from //branches/master/...@142774,142774 2009-03-25 16:25:37 -07:00
Mark Womack
78ef45602a Automated import from //branches/master/...@142755,142755 2009-03-25 16:10:13 -07:00
Chris Tate
a7f7dee1e2 Automated import from //branches/master/...@142751,142751 2009-03-25 16:05:06 -07:00
Eric Fischer
09691cd15b Automated import from //branches/master/...@142739,142739 2009-03-25 15:51:17 -07:00
Daisuke Miyakawa
c9a8e0ba6c Automated import from //branches/master/...@142673,142673 2009-03-25 15:23:27 -07:00
Leon Scroggins
6e3835ff4a Automated import from //branches/master/...@142632,142632 2009-03-25 15:15:24 -07:00
Romain Guy
9c802c1e95 Automated import from //branches/master/...@142575,142575 2009-03-25 15:07:31 -07:00
Jean-Baptiste Queru
8b0662878e Automated import from //branches/master/...@142574,142574 2009-03-25 15:05:51 -07:00
Fred Quintana
603073430b Automated import from //branches/master/...@142414,142414 2009-03-24 22:48:12 -07:00
Dianne Hackborn
4840e143df Automated import from //branches/master/...@142348,142348 2009-03-24 22:40:29 -07:00
Cedric Beust
afb6c8eafc Automated import from //branches/master/...@142319,142319 2009-03-24 22:35:42 -07:00
Joe Onorato
062a75be9c Automated import from //branches/master/...@142308,142308 2009-03-24 22:34:00 -07:00
Suchi Amalapurapu
3fd65be666 Automated import from //branches/master/...@142306,142306 2009-03-24 22:32:56 -07:00
Romain Guy
9ea028f1e4 Automated import from //branches/master/...@142130,142130 2009-03-24 21:36:11 -07:00
Ficus Kirkpatrick
b3f4db8e2b Automated import from //branches/master/...@141998,141998 2009-03-24 21:21:18 -07:00
Nick Pelly
bb564a2879 Automated import from //branches/master/...@141981,141981 2009-03-24 21:18:37 -07:00
Mike Lockwood
a0de355ce0 Automated import from //branches/master/...@141912,141912 2009-03-24 21:08:33 -07:00
Romain Guy
4087f5425c Automated import from //branches/master/...@141886,141886 2009-03-24 21:07:52 -07:00
Jaikumar Ganesh
83557ec4f1 Automated import from //branches/master/...@141865,141865 2009-03-24 21:05:50 -07:00
Ficus Kirkpatrick
10270f2b77 Automated import from //branches/master/...@141740,141740 2009-03-24 20:51:15 -07:00
Dianne Hackborn
f85f081ded Automated import from //branches/master/...@141727,141727 2009-03-24 20:49:27 -07:00
Nick Pelly
37b5a1065f Automated import from //branches/master/...@141698,141698 2009-03-24 20:46:18 -07:00
Dianne Hackborn
eb785fa71a Automated import from //branches/master/...@141518,141518 2009-03-24 20:27:03 -07:00
Chris Tate
8f91d2b5c9 Automated import from //branches/master/...@141392,141392 2009-03-24 20:11:39 -07:00
Fred Quintana
22f711423e Automated import from //branches/master/...@141380,141380 2009-03-24 20:10:17 -07:00
Bob Lee
ef0996ffa3 Automated import from //branches/master/...@141357,141357 2009-03-24 20:06:19 -07:00
Dianne Hackborn
8821192d5c Automated import from //branches/master/...@141350,141350 2009-03-24 20:05:40 -07:00
Mark Womack
8c20bc8fb7 Automated import from //branches/master/...@141328,141328 2009-03-24 20:02:43 -07:00
Romain Guy
696887ca50 Automated import from //branches/master/...@141315,141315 2009-03-24 20:01:32 -07:00
Satoshi Kataoka
917a839dd3 Automated import from //branches/master/...@141196,141196 2009-03-24 19:47:59 -07:00
Satoshi Kataoka
1ab415f6e9 Automated import from //branches/master/...@141169,141169 2009-03-24 19:42:28 -07:00
Satoshi Kataoka
e1e5df58b2 Automated import from //branches/master/...@141151,141151 2009-03-24 19:39:35 -07:00
Satoshi Kataoka
083c6b9fad Automated import from //branches/master/...@141127,141127 2009-03-24 19:35:55 -07:00
Satoshi Kataoka
20a869863b Automated import from //branches/master/...@141113,141113 2009-03-24 19:33:27 -07:00
Jeff Hamilton
2c6b3b0c26 Automated import from //branches/master/...@141107,141107 2009-03-24 19:32:26 -07:00
Dianne Hackborn
4eba271a64 Automated import from //branches/master/...@141043,141043 2009-03-24 19:20:06 -07:00
Dianne Hackborn
51bf077883 Automated import from //branches/master/...@141004,141004 2009-03-24 19:11:41 -07:00
Joe Onorato
36197e77c3 Automated import from //branches/master/...@141000,141000 2009-03-24 19:10:48 -07:00
Satoshi Kataoka
4312619934 Automated import from //branches/master/...@140968,140968 2009-03-24 19:05:08 -07:00
Jack Veenstra
359404dc6b Automated import from //branches/master/...@140959,140959 2009-03-24 19:03:26 -07:00
Karl Rosaen
d9889787b2 Automated import from //branches/master/...@140913,140913 2009-03-24 18:55:23 -07:00
Nick Pelly
9c0c492de4 Automated import from //branches/master/...@140894,140894 2009-03-24 18:51:24 -07:00
Jaikumar Ganesh
cefbab3647 Automated import from //branches/master/...@140881,140881 2009-03-24 18:48:57 -07:00