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