OSDN Git Service

DisplayList lifecycle fixes
authorJohn Reck <jreck@google.com>
Wed, 5 Mar 2014 21:02:00 +0000 (13:02 -0800)
committerJohn Reck <jreck@google.com>
Wed, 5 Mar 2014 21:02:00 +0000 (13:02 -0800)
commiteef19cc2ee55de75817db3c5ce22c712a97aeb77
tree9892b667fd5553668cfbea95a50ba4960d51618d
parent24ba99c235c328824ec8bcc1bf0382972f5b1616
DisplayList lifecycle fixes

 Bug: 13324014
 Bug: 13324861

 Don't use a DisplayList for the background if the View is detached.
 mAttachInfo can be null in onDetachedFromWindow

Change-Id: I6d1413b956dd35cd2f5256860223013d2a570870
core/java/android/view/View.java