diff options
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallList.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallList.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/CallList.java b/InCallUI/src/com/android/incallui/CallList.java index f89d8aafe..e4085f610 100644 --- a/InCallUI/src/com/android/incallui/CallList.java +++ b/InCallUI/src/com/android/incallui/CallList.java @@ -197,6 +197,13 @@ public class CallList implements InCallPhoneListener { return retval; } + /** + * A call that is waiting for {@link PhoneAccount} selection + */ + public Call getWaitingForAccountCall() { + return getFirstCallWithState(Call.State.PRE_DIAL_WAIT); + } + public Call getOutgoingCall() { Call call = getFirstCallWithState(Call.State.DIALING); if (call == null) { |