diff options
author | Santos Cordon <santoscordon@google.com> | 2014-03-19 13:00:07 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2014-03-19 13:48:09 -0700 |
commit | 34f735625b79f7250b72d9471fab837b90139de3 (patch) | |
tree | d3774ec0e7a26bd1b146197cc26ebe0b04f36834 /src/com/android/incallui/AnswerPresenter.java | |
parent | 4075acf9e20a83e5852e501432bef9a061c10743 (diff) | |
download | packages_apps_InCallUI-34f735625b79f7250b72d9471fab837b90139de3.tar.gz packages_apps_InCallUI-34f735625b79f7250b72d9471fab837b90139de3.tar.bz2 packages_apps_InCallUI-34f735625b79f7250b72d9471fab837b90139de3.zip |
Support a second incoming call (call-waiting)
Change-Id: I94730e0d628b9573eec2bf69c705599509a185b7
Diffstat (limited to 'src/com/android/incallui/AnswerPresenter.java')
-rw-r--r-- | src/com/android/incallui/AnswerPresenter.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/android/incallui/AnswerPresenter.java b/src/com/android/incallui/AnswerPresenter.java index 31527078..5b263f8a 100644 --- a/src/com/android/incallui/AnswerPresenter.java +++ b/src/com/android/incallui/AnswerPresenter.java @@ -20,7 +20,7 @@ import android.telecomm.InCallAdapter; import com.android.services.telephony.common.Call; -import java.util.ArrayList; +import java.util.List; /** * Presenter for the Incoming call widget. @@ -92,8 +92,7 @@ public class AnswerPresenter extends Presenter<AnswerPresenter.AnswerUi> CallList.getInstance().addCallUpdateListener(mCallId, this); Log.d(TAG, "Showing incoming for call id: " + mCallId + " " + this); - final ArrayList<String> textMsgs = CallList.getInstance().getTextResponses( - call.getCallId()); + final List<String> textMsgs = CallList.getInstance().getTextResponses(call.getCallId()); getUi().showAnswerUi(true); if (call.can(Call.Capabilities.RESPOND_VIA_TEXT) && textMsgs != null) { @@ -184,6 +183,6 @@ public class AnswerPresenter extends Presenter<AnswerPresenter.AnswerUi> public void showAnswerUi(boolean show); public void showTextButton(boolean show); public void showMessageDialog(); - public void configureMessageDialog(ArrayList<String> textResponses); + public void configureMessageDialog(List<String> textResponses); } } |