summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2022-12-02 22:53:38 +0000
committer Eric Biggers <ebiggers@google.com> 2022-12-05 23:08:22 +0000
commit745555592daa8a7ed8955c0a9c8a04fe7b826f7f (patch)
treed9fdd33d7cd0f098fc4f01ec31bd73390c9143b3 /libs/androidfw/StringPool.cpp
parente72f2c18a6615c8becef647d319471bf9d0f0d36 (diff)
Fix FRP credential overwritten before it is verified
When initializing the synthetic password of the user that will own the FRP credential, don't clear the FRP credential if the device is not yet provisioned. In addition, prevent the Weaver slot used by the FRP credential from being overwritten while the device is not yet provisioned. This fixes commit 78e245a21a11 ("Give all users SP-based credentials"). Test: atest com.android.server.locksettings Test: Manually tested FRP Bug: 254378141 Change-Id: I55d916d43fc30e8c76c3d85a09fad14b7946b53d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions