Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8218511fb7
@@ -204,7 +204,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;
|
||||
|
@@ -77,7 +77,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