mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 05:58:09 +00:00
Draw pulse outliner in onDrawForeground instead of in onDraw.
This commit is contained in:
committed by
Cody Henthorne
parent
05b7055678
commit
2022dae37a
@@ -774,10 +774,6 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||
|
||||
bodyBubble.setOutliners(outliners);
|
||||
|
||||
if (mediaThumbnailStub.resolved()) {
|
||||
mediaThumbnailStub.require().setPulseOutliner(pulseOutliner);
|
||||
}
|
||||
|
||||
if (audioViewStub.resolved()) {
|
||||
setAudioViewTint(messageRecord);
|
||||
}
|
||||
|
||||
@@ -90,8 +90,8 @@ public class ConversationItemBodyBubble extends LinearLayout {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas) {
|
||||
super.onDraw(canvas);
|
||||
public void onDrawForeground(Canvas canvas) {
|
||||
super.onDrawForeground(canvas);
|
||||
|
||||
if (Util.isEmpty(outliners)) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user