Revert "Plumb setRequireConfirmation to CC"
This reverts commit 56c745c38e
.
Reason for revert: Adding functionality differently
Change-Id: Iadc276ff32b9bef4ea3d7dc6dc051dcfc943e134
This commit is contained in:
@@ -43,7 +43,6 @@ public class BiometricFragment extends InstrumentedFragment {
|
||||
private static final String KEY_SUBTITLE = "subtitle";
|
||||
private static final String KEY_DESCRIPTION = "description";
|
||||
private static final String KEY_NEGATIVE_TEXT = "negative_text";
|
||||
private static final String KEY_REQUIRE_CONFIRMATION = "require_confirmation";
|
||||
|
||||
// Re-set by the application. Should be done upon orientation changes, etc
|
||||
private Executor mClientExecutor;
|
||||
@@ -128,7 +127,6 @@ public class BiometricFragment extends InstrumentedFragment {
|
||||
.setDescription(mPromptInfo.getDescription())
|
||||
.setNegativeButton(mPromptInfo.getNegativeButtonText(), mClientExecutor,
|
||||
mNegativeButtonListener)
|
||||
.setRequireConfirmation(mPromptInfo.getRequireConfirmation())
|
||||
.build();
|
||||
mCancellationSignal = new CancellationSignal();
|
||||
|
||||
@@ -173,10 +171,6 @@ public class BiometricFragment extends InstrumentedFragment {
|
||||
return mBundle.getCharSequence(KEY_NEGATIVE_TEXT);
|
||||
}
|
||||
|
||||
public boolean getRequireConfirmation() {
|
||||
return mBundle.getBoolean(KEY_REQUIRE_CONFIRMATION);
|
||||
}
|
||||
|
||||
public static class Builder {
|
||||
private final Bundle mBundle = new Bundle();
|
||||
|
||||
@@ -200,11 +194,6 @@ public class BiometricFragment extends InstrumentedFragment {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setRequireConfirmation(boolean requireConfirmation) {
|
||||
mBundle.putBoolean(KEY_REQUIRE_CONFIRMATION, requireConfirmation);
|
||||
return this;
|
||||
}
|
||||
|
||||
public PromptInfo build() {
|
||||
return new PromptInfo(mBundle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user