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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user