diff options
author | keyboardr <keyboardr@google.com> | 2017-06-21 17:59:20 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-06-22 07:40:36 -0700 |
commit | b9f87f029126cd00e1e743cf27d2c2514a475de0 (patch) | |
tree | a4534c4494e140bc77a072d147084b2d30681c8e /java/com/android/incallui/ReturnToCallController.java | |
parent | 7e5a84d3ffde93313891e4769c88a1c9c03dc320 (diff) |
Make Bubble's collapseEndAction and visibility states more explicit.
This will better handle the cases where a show/hide action is performed while the Bubble is animating.
PiperOrigin-RevId: 159771812
Change-Id: I87779da8c0360906587355279b3cc9674289e30f
Diffstat (limited to 'java/com/android/incallui/ReturnToCallController.java')
-rw-r--r-- | java/com/android/incallui/ReturnToCallController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/incallui/ReturnToCallController.java b/java/com/android/incallui/ReturnToCallController.java index 9e3388651..9972e6fbe 100644 --- a/java/com/android/incallui/ReturnToCallController.java +++ b/java/com/android/incallui/ReturnToCallController.java @@ -135,7 +135,7 @@ public class ReturnToCallController implements InCallUiListener, Listener, Audio @Override public void onDisconnect(DialerCall call) { - if (bubble != null && bubble.isShowing()) { + if (bubble != null && bubble.isVisible()) { bubble.showText(context.getText(R.string.incall_call_ended)); } |