Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9096a427 authored by John Wang's avatar John Wang Committed by Android Git Automerger
Browse files

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

Merge commit '419126a6'

* commit '419126a6':
  Add API to get all foreground calls.
parents 2856ccfb 419126a6
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -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;