Merge "Always showContentVisibility(true) after switch/expand animations." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c74779746e
@@ -494,6 +494,11 @@ public class BubbleExpandedView extends LinearLayout {
|
||||
+ " bubble=" + getBubbleKey());
|
||||
}
|
||||
final float alpha = visibility ? 1f : 0f;
|
||||
|
||||
if (alpha == mActivityView.getAlpha()) {
|
||||
return;
|
||||
}
|
||||
|
||||
mPointerView.setAlpha(alpha);
|
||||
if (mActivityView != null) {
|
||||
mActivityView.setAlpha(alpha);
|
||||
|
||||
@@ -1901,6 +1901,8 @@ public class BubbleStackView extends FrameLayout
|
||||
.withEndActions(() -> {
|
||||
if (mExpandedBubble != null
|
||||
&& mExpandedBubble.getExpandedView() != null) {
|
||||
mExpandedBubble.getExpandedView()
|
||||
.setContentVisibility(true);
|
||||
mExpandedBubble.getExpandedView()
|
||||
.setSurfaceZOrderedOnTop(false);
|
||||
}
|
||||
@@ -2045,6 +2047,7 @@ public class BubbleStackView extends FrameLayout
|
||||
})
|
||||
.withEndActions(() -> {
|
||||
if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) {
|
||||
mExpandedBubble.getExpandedView().setContentVisibility(true);
|
||||
mExpandedBubble.getExpandedView().setSurfaceZOrderedOnTop(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user