OSDN Git Service

Fix crash during Activity Transition with TextureView.
authorGeorge Mount <mount@google.com>
Tue, 5 May 2015 23:44:15 +0000 (16:44 -0700)
committerGeorge Mount <mount@google.com>
Wed, 6 May 2015 23:24:07 +0000 (16:24 -0700)
commit8261a3f5ed1dbd5aa63b7819f2ef7a8e4a6ee9a1
treea739b1570d4fae15a1a23b64aafbfc258285f8d9
parent9260cb7ffe0845d229a8cfe948b4ba30fe32127b
Fix crash during Activity Transition with TextureView.

Bug 20675857

GhostView was synchronously forcing the View's parent to get
the display list when it was created. TextureView's cannot
create a display list until a surface is available and will
crash if it is attempted. This change moves the request to
an invalidate to get it to execute at a later time.

Change-Id: I12afebdfd57eb29c1a35b23a63d045e319547faf
core/java/android/view/GhostView.java