From c6d218612513ca3bcc78aa1201f6e4ec576742bd Mon Sep 17 00:00:00 2001 From: yueg Date: Fri, 30 Mar 2018 12:31:47 -0700 Subject: Fix bubble showing after dismiss bug. Now we also show bubble in onCallListChange(), but we shouldn't show bubble after dismiss in this case. Test: ReturnToCallControllerTest PiperOrigin-RevId: 191101307 Change-Id: I13ff6bf4ae7ab574966c43c0e6fee13853899ba0 --- java/com/android/bubble/Bubble.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'java/com/android/bubble/Bubble.java') diff --git a/java/com/android/bubble/Bubble.java b/java/com/android/bubble/Bubble.java index e192e06f4..1b853cf49 100644 --- a/java/com/android/bubble/Bubble.java +++ b/java/com/android/bubble/Bubble.java @@ -39,6 +39,9 @@ public interface Bubble { /** Returns whether the bubble is currently visible */ boolean isVisible(); + /** Returns whether the bubble is currently dismissed */ + boolean isDismissed(); + /** * Set the info for this Bubble to display * -- cgit v1.2.3