Fixed a bug where the panel could get stuck closing

am: b0e4f9e97e

* commit 'b0e4f9e97e272783f08b2245219239aaa667073d':
  Fixed a bug where the panel could get stuck closing
This commit is contained in:
Selim Cinek
2015-11-03 01:21:43 +00:00
committed by android-build-merger

View File

@@ -123,7 +123,6 @@ public abstract class PanelView extends FrameLayout {
}; };
protected void onExpandingFinished() { protected void onExpandingFinished() {
endClosing();
mBar.onExpandingFinished(); mBar.onExpandingFinished();
} }
@@ -138,6 +137,7 @@ public abstract class PanelView extends FrameLayout {
} }
protected final void notifyExpandingFinished() { protected final void notifyExpandingFinished() {
endClosing();
if (mExpanding) { if (mExpanding) {
mExpanding = false; mExpanding = false;
onExpandingFinished(); onExpandingFinished();