Loading packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +6 −3 Original line number Original line Diff line number Diff line Loading @@ -424,6 +424,7 @@ public class BubbleStackView extends FrameLayout { private int mOrientation = Configuration.ORIENTATION_UNDEFINED; private int mOrientation = Configuration.ORIENTATION_UNDEFINED; @Nullable private BubbleOverflow mBubbleOverflow; private BubbleOverflow mBubbleOverflow; private boolean mShouldShowUserEducation; private boolean mShouldShowUserEducation; Loading Loading @@ -1387,7 +1388,7 @@ public class BubbleStackView extends FrameLayout { Log.d(TAG, "onBubbleDragStart: bubble=" + bubble); Log.d(TAG, "onBubbleDragStart: bubble=" + bubble); } } if (bubble.equals(mBubbleOverflow.getIconView())) { if (mBubbleOverflow != null && bubble.equals(mBubbleOverflow.getIconView())) { return; return; } } Loading @@ -1403,7 +1404,8 @@ public class BubbleStackView extends FrameLayout { /** Called with the coordinates to which an individual bubble has been dragged. */ /** Called with the coordinates to which an individual bubble has been dragged. */ public void onBubbleDragged(View bubble, float x, float y) { public void onBubbleDragged(View bubble, float x, float y) { if (!mIsExpanded || mIsExpansionAnimating || bubble.equals(mBubbleOverflow.getIconView())) { if (!mIsExpanded || mIsExpansionAnimating || (mBubbleOverflow != null && bubble.equals(mBubbleOverflow.getIconView()))) { return; return; } } Loading @@ -1418,7 +1420,8 @@ public class BubbleStackView extends FrameLayout { Log.d(TAG, "onBubbleDragFinish: bubble=" + bubble); Log.d(TAG, "onBubbleDragFinish: bubble=" + bubble); } } if (!mIsExpanded || mIsExpansionAnimating || bubble.equals(mBubbleOverflow.getIconView())) { if (!mIsExpanded || mIsExpansionAnimating || (mBubbleOverflow != null && bubble.equals(mBubbleOverflow.getIconView()))) { return; return; } } Loading Loading
packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +6 −3 Original line number Original line Diff line number Diff line Loading @@ -424,6 +424,7 @@ public class BubbleStackView extends FrameLayout { private int mOrientation = Configuration.ORIENTATION_UNDEFINED; private int mOrientation = Configuration.ORIENTATION_UNDEFINED; @Nullable private BubbleOverflow mBubbleOverflow; private BubbleOverflow mBubbleOverflow; private boolean mShouldShowUserEducation; private boolean mShouldShowUserEducation; Loading Loading @@ -1387,7 +1388,7 @@ public class BubbleStackView extends FrameLayout { Log.d(TAG, "onBubbleDragStart: bubble=" + bubble); Log.d(TAG, "onBubbleDragStart: bubble=" + bubble); } } if (bubble.equals(mBubbleOverflow.getIconView())) { if (mBubbleOverflow != null && bubble.equals(mBubbleOverflow.getIconView())) { return; return; } } Loading @@ -1403,7 +1404,8 @@ public class BubbleStackView extends FrameLayout { /** Called with the coordinates to which an individual bubble has been dragged. */ /** Called with the coordinates to which an individual bubble has been dragged. */ public void onBubbleDragged(View bubble, float x, float y) { public void onBubbleDragged(View bubble, float x, float y) { if (!mIsExpanded || mIsExpansionAnimating || bubble.equals(mBubbleOverflow.getIconView())) { if (!mIsExpanded || mIsExpansionAnimating || (mBubbleOverflow != null && bubble.equals(mBubbleOverflow.getIconView()))) { return; return; } } Loading @@ -1418,7 +1420,8 @@ public class BubbleStackView extends FrameLayout { Log.d(TAG, "onBubbleDragFinish: bubble=" + bubble); Log.d(TAG, "onBubbleDragFinish: bubble=" + bubble); } } if (!mIsExpanded || mIsExpansionAnimating || bubble.equals(mBubbleOverflow.getIconView())) { if (!mIsExpanded || mIsExpansionAnimating || (mBubbleOverflow != null && bubble.equals(mBubbleOverflow.getIconView()))) { return; return; } } Loading