OSDN Git Service

LayoutLib: properly erase the bitmap when rendering a new session.
authorXavier Ducrohet <xav@android.com>
Thu, 27 Jan 2011 00:33:07 +0000 (16:33 -0800)
committerXavier Ducrohet <xav@android.com>
Thu, 27 Jan 2011 00:34:53 +0000 (16:34 -0800)
commit5a82d8c58bf91c357c37a82b9f5e5c26f676d847
tree34486ebd0aabece45c26801fe11600cd9934dfcd
parentf6926a63dfdc114789a6acc06396ca826eb64418
LayoutLib: properly erase the bitmap when rendering a new session.

This fix the issue where going from a full theme to a dialog theme
would show the dialog on top of the previous rendering.

Change-Id: Ib52b9719f44b04969423547b9de8d039f90b6f46
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java