Default to timing out to dock user in 1 minute

Previous default was to disable the feature.

Bug: 260123067
Test: verified locally on device that the default is 1 minute for a new
user

Change-Id: I8f577d62b729eb1c1a0579a7b4eb6b50f7f7f0d8
This commit is contained in:
William Xiao
2022-12-08 15:32:54 -08:00
parent 7bae5625a6
commit ea655e9695
3 changed files with 14 additions and 4 deletions

View File

@@ -37,7 +37,8 @@ import java.util.List;
*/
public class TimeoutToDockUserSettings extends RadioButtonPickerFragment {
// Index of the default key of the timeout setting if it hasn't been changed by the user.
public static final int DEFAULT_TIMEOUT_SETTING_VALUE_INDEX = 0;
// Default to the smallest non-zero option (which is currently 1 minute).
public static final int DEFAULT_TIMEOUT_SETTING_VALUE_INDEX = 1;
// Labels of the options, for example, "never", "after 5 minutes".
private String[] mEntries;