Fix closing state
Bug: 20940663 Change-Id: I34e2bf4fb3ba9f9ad15e634c4a09883f57b446b2
This commit is contained in:
@@ -616,6 +616,9 @@ public abstract class PanelView extends FrameLayout {
|
||||
boolean expandBecauseOfFalsing) {
|
||||
cancelPeek();
|
||||
float target = expand ? getMaxPanelHeight() : 0.0f;
|
||||
if (!expand) {
|
||||
mClosing = true;
|
||||
}
|
||||
flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user