[Catalyst] Add initial ScreenTimeoutScreen
Bug: 368359967 Flag: com.android.settings.flags.catalyst_screen_timeout Test: atest Change-Id: I13d23e4e5164c3dd4a4a01b00b854642f748b020
This commit is contained in:
@@ -36,6 +36,7 @@ import android.os.UserHandle;
|
||||
import android.provider.Settings;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
||||
@@ -309,6 +310,11 @@ public class ScreenTimeoutSettings extends RadioButtonPickerFragment
|
||||
return R.xml.screen_timeout_settings;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
return ScreenTimeoutScreen.KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getHelpResource() {
|
||||
return R.string.help_url_adaptive_sleep;
|
||||
|
||||
Reference in New Issue
Block a user