Hide skip button when setting backup lock screen
Test: Manual Bug: 62896253 Change-Id: If16de0b4276b55101f35543bbbf107a36ad7a8e9
This commit is contained in:
@@ -196,7 +196,7 @@ public class ChooseLockPassword extends SettingsActivity {
|
||||
private Stage mUiStage = Stage.Introduction;
|
||||
private PasswordRequirementAdapter mPasswordRequirementAdapter;
|
||||
private GlifLayout mLayout;
|
||||
private boolean mForFingerprint;
|
||||
protected boolean mForFingerprint;
|
||||
|
||||
private String mFirstPin;
|
||||
private RecyclerView mPasswordRestrictionView;
|
||||
|
@@ -85,7 +85,11 @@ public class SetupChooseLockPassword extends ChooseLockPassword {
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
|
||||
if (mForFingerprint) {
|
||||
mCancelButton.setVisibility(View.GONE);
|
||||
} else {
|
||||
mCancelButton.setText(R.string.skip_label);
|
||||
}
|
||||
|
||||
boolean showOptionsButton = getActivity().getIntent().getBooleanExtra(
|
||||
ChooseLockGenericFragment.EXTRA_SHOW_OPTIONS_BUTTON, false);
|
||||
|
Reference in New Issue
Block a user