summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-08-31 16:17:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-08-31 16:17:04 +0000
commitc39ea3c55fac807c0b98aabdf56c70dc8a49036c (patch)
treee282668a9587cf6c1ec7b604dea860400c75c6c7 /java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java
parent68038172793ee0e2ab3e2e56ddfbeb82879d1f58 (diff)
parent2ca4318cc1ee57dda907ba2069bd61d162b1baef (diff)
Merge "Update Dialer source to latest internal Google revision."
Diffstat (limited to 'java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java')
-rw-r--r--java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java b/java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java
index 9815981ca..5d2c415ed 100644
--- a/java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java
+++ b/java/com/android/incallui/answer/protocol/AnswerScreenDelegate.java
@@ -32,6 +32,10 @@ public interface AnswerScreenDelegate {
void onReject();
void onAnswerAndReleaseCall();
+
+ void onAnswerAndReleaseButtonEnabled();
+
+ void onAnswerAndReleaseButtonDisabled();
/**
* Sets the window background color based on foreground call's theme and the given progress. This
* is called from the answer UI to animate the accept and reject action.
@@ -42,4 +46,7 @@ public interface AnswerScreenDelegate {
* @param progress float from -1 to 1. -1 is fully rejected, 1 is fully accepted, and 0 is neutral
*/
void updateWindowBackgroundColor(@FloatRange(from = -1f, to = 1.0f) float progress);
+
+ /** Returns true if any answer/reject action timed out. */
+ boolean isActionTimeout();
}