Support alternate button

Align the behavior of frp and repair to have them
support the alternate button.

Bug: 339735656
Test: presubmit
Change-Id: Ib785db5ef16a68df4980dee451c6b638692adc5f
This commit is contained in:
Chun-Wei Wang
2024-05-30 13:57:27 +08:00
parent 55834fff02
commit 31ebeb690e
2 changed files with 3 additions and 2 deletions

View File

@@ -239,6 +239,7 @@ public class ConfirmDeviceCredentialActivity extends FragmentActivity {
new ChooseLockSettingsHelper.Builder(this);
launchedCDC = builder.setHeader(mTitle)
.setDescription(mDetails)
.setAlternateButton(alternateButton)
.setExternal(true)
.setUserId(LockPatternUtils.USER_REPAIR_MODE)
.show();