Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +12 −3 Original line number Diff line number Diff line Loading @@ -536,7 +536,8 @@ public class BubbleStackView extends FrameLayout private OnClickListener mBubbleClickListener = new OnClickListener() { @Override public void onClick(View view) { mIsDraggingStack = false; // If the touch ended in a click, we're no longer dragging. // If the touch ended in a click, we're no longer dragging. onDraggingEnded(); // Bubble clicks either trigger expansion/collapse or a bubble switch, both of which we // shouldn't interrupt. These are quick transitions, so it's not worth trying to adjust Loading Loading @@ -719,8 +720,7 @@ public class BubbleStackView extends FrameLayout mDismissView.hide(); } mIsDraggingStack = false; mMagnetizedObject = null; onDraggingEnded(); // Hide the stack after a delay, if needed. updateTemporarilyInvisibleAnimation(false /* hideImmediately */); Loading Loading @@ -1096,6 +1096,7 @@ public class BubbleStackView extends FrameLayout } else { maybeShowStackEdu(); } onDraggingEnded(); }); animate() Loading Loading @@ -1152,6 +1153,14 @@ public class BubbleStackView extends FrameLayout }); } /** * Reset state related to dragging. */ private void onDraggingEnded() { mIsDraggingStack = false; mMagnetizedObject = null; } /** * Sets whether or not the stack should become temporarily invisible by moving off the side of * the screen. Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +12 −3 Original line number Diff line number Diff line Loading @@ -536,7 +536,8 @@ public class BubbleStackView extends FrameLayout private OnClickListener mBubbleClickListener = new OnClickListener() { @Override public void onClick(View view) { mIsDraggingStack = false; // If the touch ended in a click, we're no longer dragging. // If the touch ended in a click, we're no longer dragging. onDraggingEnded(); // Bubble clicks either trigger expansion/collapse or a bubble switch, both of which we // shouldn't interrupt. These are quick transitions, so it's not worth trying to adjust Loading Loading @@ -719,8 +720,7 @@ public class BubbleStackView extends FrameLayout mDismissView.hide(); } mIsDraggingStack = false; mMagnetizedObject = null; onDraggingEnded(); // Hide the stack after a delay, if needed. updateTemporarilyInvisibleAnimation(false /* hideImmediately */); Loading Loading @@ -1096,6 +1096,7 @@ public class BubbleStackView extends FrameLayout } else { maybeShowStackEdu(); } onDraggingEnded(); }); animate() Loading Loading @@ -1152,6 +1153,14 @@ public class BubbleStackView extends FrameLayout }); } /** * Reset state related to dragging. */ private void onDraggingEnded() { mIsDraggingStack = false; mMagnetizedObject = null; } /** * Sets whether or not the stack should become temporarily invisible by moving off the side of * the screen. Loading