Add auth challenge for increasing screen timeout.

We only require one auth after onStart(), and only for increasing the
timeout.

Test: atest SettingsRoboTests:com.android.settings.display.ScreenTimeoutSettingsTest
Test: also manually tested
Bug: 315937886
Change-Id: If4aed67736cd7545d3a518aadd8253ea6a9fae43
This commit is contained in:
Jan Tomljanovic
2023-12-19 23:23:28 +00:00
parent 6ca4c0fb5a
commit 6b4c754f5e
3 changed files with 207 additions and 47 deletions

View File

@@ -0,0 +1,9 @@
package: "com.android.settings.flags"
flag {
name: "protect_screen_timeout_with_auth"
namespace: "safety_center"
description: "Require an auth challenge for increasing screen timeout."
bug: "315937886"
}