diff options
| author | 2023-08-29 22:13:36 +0000 | |
|---|---|---|
| committer | 2023-10-06 20:38:09 +0000 | |
| commit | 21ed0100480a206835c1d0224cf8c5da944ee2de (patch) | |
| tree | 1bf8a3fef08602f6e5835ae313c61aa758735532 /api/api.go | |
| parent | cabf940dba5b9399bf6f4d4c6492bcf7dcb17222 (diff) | |
Remove obsolete Smart Lock developer settings
There is no code that changes the trust_agents_extend_unlock or
lock_screen_when_trust_lost settings from their default values. These
settings were introduced as a "temporary convenience for dogfooding"
when the "extend unlock" feature was initially added in Android 10
(https://android.googlesource.com/platform/frameworks/base/+/15f7dd0c29881228b40d6db7f7f6e5d151cdb832).
Before Android 10 was released, extend unlock became the default
(https://android.googlesource.com/platform/frameworks/base/+/d3268c2dca1f09b6cef01579588b7aeb7c867cb9).
In Android 11, the ability to toggle these settings was removed from the
Settings app
(https://android.googlesource.com/platform/packages/apps/Settings/+/638aa7c066c4046ebc092fcfe4b29eb35040fbfc).
Therefore, there's no need to support anything other than the default
values of these settings. Simplify the code accordingly. Note, no
tests need to be removed because the non-default values were untested.
Bug: 120871688
Test: atest TrustTests
Change-Id: I6697b578712dfb57f9e709c541454b43e79d3a14
(cherry picked from commit 94aedc05ec535346c9c942173bb798c89c956ceb)
Merged-In: I6697b578712dfb57f9e709c541454b43e79d3a14
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions