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
2011-01-26 22:44:52 -08:00
2011-01-19 16:13:18 -08:00
2011-01-19 15:38:16 -08:00
2011-01-16 18:43:04 -08:00
2010-10-27 16:13:59 -07:00
2011-01-25 15:36:21 -08:00
2011-01-20 12:51:43 +08:00
2011-01-19 19:57:37 -08:00
2011-01-19 16:13:18 -08:00
2011-01-17 12:50:15 -08:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%