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

Commit 7aefafff authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Update API docs for TelecomManager#endCall." into qt-dev

parents 13a31b26 f18ee4c9
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -1451,6 +1451,9 @@ public class TelecomManager {
     * foreground call is ended.
     * foreground call is ended.
     * <p>
     * <p>
     * Requires permission {@link android.Manifest.permission#ANSWER_PHONE_CALLS}.
     * Requires permission {@link android.Manifest.permission#ANSWER_PHONE_CALLS}.
     * <p>
     * Note: this method CANNOT be used to end ongoing emergency calls and will return {@code false}
     * if an attempt is made to end an emergency call.
     *
     *
     * @return {@code true} if there is a call which will be rejected or terminated, {@code false}
     * @return {@code true} if there is a call which will be rejected or terminated, {@code false}
     * otherwise.
     * otherwise.
@@ -1458,8 +1461,6 @@ public class TelecomManager {
     * instead.  Apps performing call screening should use the {@link CallScreeningService} API
     * instead.  Apps performing call screening should use the {@link CallScreeningService} API
     * instead.
     * instead.
     */
     */


    @RequiresPermission(Manifest.permission.ANSWER_PHONE_CALLS)
    @RequiresPermission(Manifest.permission.ANSWER_PHONE_CALLS)
    @Deprecated
    @Deprecated
    public boolean endCall() {
    public boolean endCall() {