onResume event should be logged (not twice but once)

Bug: 79541772

Change-Id: I5fe1271007e4579e1ec95d51c215ef48d0c6eedd
This commit is contained in:
Hyunyoung Song
2018-05-16 15:54:31 -07:00
parent 7b19b16f09
commit bd6fba9f58
4 changed files with 32 additions and 9 deletions

View File

@@ -102,9 +102,11 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
public final void close(boolean animate) {
animate &= !Utilities.isPowerSaverPreventingAnimation(getContext());
if (mIsOpen) {
BaseActivity.fromContext(getContext()).getUserEventDispatcher()
.resetElapsedContainerMillis("container closed");
}
handleClose(animate);
BaseActivity.fromContext(getContext()).getUserEventDispatcher()
.resetElapsedContainerMillis("container closed");
mIsOpen = false;
}