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

Commit f383c328 authored by Sewook Seo's avatar Sewook Seo
Browse files

Improve javadoc for CALL_TYPE_NONE & CallState

Bug: 261497090
Test: system build
Change-Id: I59e9b040cea3bc52db7f7c15c5a5c2349535d3d7
parent 1c66e1f6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -285,12 +285,12 @@ public final class CallState implements Parcelable {
    /**
     * Builder of {@link CallState}
     *
     * <p>The example below shows how you might create a new {@code CallState}:
     * <p>The example below shows how you might create a new {@code CallState}. A precise call state
     * {@link PreciseCallStates} is mandatory to build a CallState.
     *
     * <pre><code>
     *
     * CallState = new CallState.Builder()
     *     .setCallState(3)
     * CallState = new CallState.Builder({@link PreciseCallStates})
     *     .setNetworkType({@link TelephonyManager#NETWORK_TYPE_LTE})
     *     .setCallQuality({@link CallQuality})
     *     .setImsCallSessionId({@link String})
+4 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.telecom.VideoProfile;
import android.telephony.CallState;
import android.telephony.emergency.EmergencyNumber;
import android.telephony.emergency.EmergencyNumber.EmergencyCallRouting;
import android.telephony.emergency.EmergencyNumber.EmergencyServiceCategories;
@@ -78,7 +79,9 @@ public final class ImsCallProfile implements Parcelable {
    public static final int SERVICE_TYPE_EMERGENCY = 2;

    /**
     * Call type none
     * This value is returned if there is no valid IMS call type defined for the call. For example,
     * if an ongoing call is circuit-switched and {@link CallState#getImsCallType()} is called, this
     * value will be returned.
     */
    public static final int CALL_TYPE_NONE = 0;
    /**