diff options
author | yueg <yueg@google.com> | 2018-03-30 12:31:47 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-30 12:35:40 -0700 |
commit | c6d218612513ca3bcc78aa1201f6e4ec576742bd (patch) | |
tree | 1ff4ab39241c91c6ae4a8abad8208ed9f2ce1ee8 /java/com/android/bubble/Bubble.java | |
parent | df36d8f1c6ef91646fdbf169ec2c6cc9edcc8e3c (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.java | 3 |
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 * |