mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Set title for the decryption error dialog
This commit is contained in:
parent
da4956cb3c
commit
f4b9d4b45c
1 changed files with 2 additions and 1 deletions
|
@ -88,6 +88,7 @@ public class AuthActivity extends AppCompatActivity implements FingerprintUiHelp
|
||||||
|
|
||||||
private void showError() {
|
private void showError() {
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||||
|
builder.setTitle("Decryption error");
|
||||||
builder.setMessage("Master key integrity check failed for every slot. Make sure you didn't mistype your password.");
|
builder.setMessage("Master key integrity check failed for every slot. Make sure you didn't mistype your password.");
|
||||||
builder.setCancelable(false);
|
builder.setCancelable(false);
|
||||||
builder.setPositiveButton("OK",
|
builder.setPositiveButton("OK",
|
||||||
|
@ -100,7 +101,7 @@ public class AuthActivity extends AppCompatActivity implements FingerprintUiHelp
|
||||||
}
|
}
|
||||||
|
|
||||||
private <T extends Slot> void trySlots(Class<T> type, Object obj) {
|
private <T extends Slot> void trySlots(Class<T> type, Object obj) {
|
||||||
new SlotCollectionTask<T>(type, this, this).execute(new SlotCollectionTask.Params(){{
|
new SlotCollectionTask<>(type, this, this).execute(new SlotCollectionTask.Params(){{
|
||||||
Slots = _slots;
|
Slots = _slots;
|
||||||
Obj = obj;
|
Obj = obj;
|
||||||
}});
|
}});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue