Fixed crash in PanelView dump

Bugreports crashed when dumping PanelView.

Bug: 13872972
Change-Id: I3bd2b5321dd208766248f6506c5592190366e5ea
This commit is contained in:
Selim Cinek
2014-04-07 20:07:22 +02:00
parent 2d925545b6
commit a3e5bcb60e

View File

@@ -793,7 +793,7 @@ public class PanelView extends FrameLayout {
}
public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
pw.println(String.format("[PanelView(%s): expandedHeight=%f maxPanelHeight=%f closing=%s"
pw.println(String.format("[PanelView(%s): expandedHeight=%f maxPanelHeight=%d closing=%s"
+ " tracking=%s rubberbanding=%s justPeeked=%s peekAnim=%s%s timeAnim=%s%s"
+ "]",
this.getClass().getSimpleName(),