Fixed a bug where the panel could get stuck closing am: b0e4f9e97e am: 157e60f7a2

am: 341d544693

* commit '341d544693c47ba9c5a60108e0ed4eabb9e2e069':
  Fixed a bug where the panel could get stuck closing
This commit is contained in:
Selim Cinek
2015-11-03 01:34:31 +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();