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
@@ -77,7 +77,11 @@ public class SetupChooseLockPassword extends ChooseLockPassword {
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
|
||||
mCancelButton.setText(R.string.skip_label);
|
||||
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