diff options
| author | 2023-08-29 22:13:36 +0000 | |
|---|---|---|
| committer | 2023-10-06 21:52:53 +0000 | |
| commit | 0abf04ae3be3a5b67e218c04a6a2833789696971 (patch) | |
| tree | 6ad0d42b8136ab2b149a47af8f5b9e36744a614e /libs/androidfw/FileStream.cpp | |
| parent | 2bf9417aab859368763e7b00cdf0253cfcb95d4e (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 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions