am dc243482: Merge "Add API to get all foreground calls." into gingerbread

Merge commit 'dc243482d6e104c4a3cddaa694c2ee3c628c2c20' into gingerbread-plus-aosp

* commit 'dc243482d6e104c4a3cddaa694c2ee3c628c2c20':
  Add API to get all foreground calls.
This commit is contained in:
John Wang
2010-09-03 14:08:32 -07:00
committed by Android Git Automerger

View File

@@ -1108,14 +1108,21 @@ public final class CallManager {
*/
/**
* @return list of ringing calls
* @return list of all ringing calls
*/
public ArrayList<Call> getRingingCalls() {
return mRingingCalls;
}
/**
* @return list of background calls
* @return list of all foreground calls
*/
public ArrayList<Call> getForegroundCalls() {
return mForegroundCalls;
}
/**
* @return list of all background calls
*/
public ArrayList<Call> getBackgroundCalls() {
return mBackgroundCalls;