Skip to content
Commit 74555559 authored by Eric Biggers's avatar Eric Biggers
Browse files

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 78e245a2 ("Give all users SP-based credentials").

Test: atest com.android.server.locksettings
Test: Manually tested FRP
Bug: 254378141
Change-Id: I55d916d43fc30e8c76c3d85a09fad14b7946b53d
parent e72f2c18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment