Don't reset alpha after dragging to dismiss
After dragging the bubble bar to dismiss, don't reset its alpha
value.
Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 359804931
Test: manual
- Create a bubble in the bubble bar
- Drag bubble bar to dismiss
- Create another bubble
- Observe the new bubble does not flicker
Change-Id: I8d56f71d38ec33acda8efade50735b59254d77d4
This commit is contained in:
1 parent
de9b1df642
commit
afdad57bdf
2 files changed
+10
-5
No files matched your search
@@ -647,7 +647,9 @@ public class BubbleBarView extends FrameLayout {
|
||||
}
|
||||
setAlphaDuringBubbleDrag(1f);
|
||||
setTranslationX(0f);
|
||||
setAlpha(1f);
|
||||
if (getBubbleChildCount() > 0) {
|
||||
setAlpha(1f);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user