Merge "Update description based on API feedback"
This commit is contained in:
@@ -10475,8 +10475,9 @@ public final class Settings {
|
||||
|
||||
/**
|
||||
* The threshold value for the number of consecutive dns timeout events received to be a
|
||||
* signal of data stall. Set the value to 0 or less than 0 to disable. Note that the value
|
||||
* should be larger than 0 if the DNS data stall detection is enabled.
|
||||
* signal of data stall. The number of consecutive timeouts needs to be {@code >=} this
|
||||
* threshold to be considered a data stall. Set the value to {@code <= 0} to disable. Note
|
||||
* that the value should be {@code > 0} if the DNS data stall detection is enabled.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@@ -10507,15 +10508,27 @@ public final class Settings {
|
||||
"data_stall_valid_dns_time_threshold";
|
||||
|
||||
/**
|
||||
* Which data stall detection signal to use. Possible values are a union of the powers of 2
|
||||
* of DATA_STALL_EVALUATION_TYPE_*.
|
||||
* Which data stall detection signal to use. This is a bitmask constructed by bitwise-or-ing
|
||||
* (i.e. {@code |}) the DATA_STALL_EVALUATION_TYPE_* values.
|
||||
*
|
||||
* Type: int
|
||||
* Valid values:
|
||||
* {@link #DATA_STALL_EVALUATION_TYPE_DNS} : Use dns as a signal.
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static final String DATA_STALL_EVALUATION_TYPE = "data_stall_evaluation_type";
|
||||
|
||||
/**
|
||||
* Use dns timeout counts to detect data stall.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static final int DATA_STALL_EVALUATION_TYPE_DNS = 1;
|
||||
|
||||
/**
|
||||
* Whether to try cellular data recovery when a bad network is reported.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user