Chet Haase
f4ac547f86
Fix NPE with display lists when view not attached
...
There was logic in ViewGroup that assumed that an accelerated
view must always be able to get a display list for any child
that it was drawing. One situation occurred, however, that
caused a problem with this - a contacts activity was started
and not yet attached, but was being asked to render into an
accelerated canvas. We assumed that the child would have a display
list and simply called getDisplayList(). But since that call
returned null, we later deref'd the null object.
The fix is to check whether a child can have a display list
instead of assuming that it can just because the container view
is accelerated.
Change-Id: I7de62fd597ad50720c9585d621bec02e77c171df
2011-01-27 10:30:25 -08:00
..
2010-08-17 19:03:56 -07:00
2010-11-28 18:28:57 -08:00
2011-01-24 14:48:14 -08:00
2010-08-19 15:55:02 -07:00
2010-08-02 16:02:24 -07:00
2009-03-03 19:31:44 -08:00
2011-01-14 12:28:23 -08:00
2010-12-18 16:25:29 -08:00
2011-01-24 08:43:20 -08:00
2010-09-30 16:29:07 -07:00
2011-01-20 13:53:17 -08:00
2010-11-05 18:58:29 -07:00
2010-12-17 18:51:04 -08:00
2009-03-03 19:31:44 -08:00
2010-02-18 15:53:59 -08:00
2011-01-26 13:43:01 -08:00
2011-01-24 08:43:20 -08:00
2011-01-13 12:13:20 -08:00
2011-01-11 17:53:19 -08:00
2009-04-13 16:11:55 -07:00
2010-03-29 14:40:34 -07:00
2011-01-24 18:39:56 -08:00
2011-01-11 17:53:19 -08:00
2011-01-24 20:22:49 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2010-06-13 17:42:16 -07:00
2010-07-15 18:32:33 -07:00
2010-08-30 18:16:43 -07:00
2010-09-14 20:46:14 -07:00
2010-07-29 12:54:27 -07:00
2010-09-12 17:17:30 -07:00
2010-11-08 12:49:43 -08:00
2010-11-08 12:49:43 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2011-01-23 19:22:52 -08:00
2011-01-23 19:22:52 -08:00
2011-01-16 18:58:49 -08:00
2011-01-19 17:32:50 -08:00
2009-03-03 19:31:44 -08:00
2011-01-19 17:32:50 -08:00
2010-09-21 22:08:50 -07:00
2009-03-03 19:31:44 -08:00
2011-01-05 11:41:26 -08:00
2011-01-05 11:41:26 -08:00
2009-03-03 19:31:44 -08:00
2011-01-24 12:07:37 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2010-09-02 17:10:02 -07:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2011-01-18 18:28:21 -08:00
2010-12-20 09:22:01 -08:00
2009-03-03 19:31:44 -08:00
2011-01-26 18:48:38 -08:00
2009-03-03 19:31:44 -08:00
2010-10-12 11:31:07 -07:00
2011-01-27 10:30:25 -08:00
2011-01-25 11:23:30 -08:00
2011-01-24 08:43:20 -08:00
2011-01-27 10:30:25 -08:00
2009-03-03 19:31:44 -08:00
2010-09-21 17:56:48 -07:00
2011-01-26 19:04:15 -08:00
2009-12-15 11:45:58 -08:00
2011-01-16 18:58:49 -08:00
2011-01-19 12:16:19 -08:00
2011-01-18 17:35:17 -08:00
2009-03-03 19:31:44 -08:00
2011-01-26 10:47:39 -08:00
2010-11-14 14:23:42 -08:00
2011-01-23 19:22:52 -08:00
2011-01-24 13:46:57 -08:00