summaryrefslogtreecommitdiff
path: root/java/com/android/bubble/Bubble.java
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2018-03-30 12:31:47 -0700
committerCopybara-Service <copybara-piper@google.com>2018-03-30 12:35:40 -0700
commitc6d218612513ca3bcc78aa1201f6e4ec576742bd (patch)
tree1ff4ab39241c91c6ae4a8abad8208ed9f2ce1ee8 /java/com/android/bubble/Bubble.java
parentdf36d8f1c6ef91646fdbf169ec2c6cc9edcc8e3c (diff)
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
Diffstat (limited to 'java/com/android/bubble/Bubble.java')
-rw-r--r--java/com/android/bubble/Bubble.java3
1 files changed, 3 insertions, 0 deletions
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
*