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() {
|
||||
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.setCancelable(false);
|
||||
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) {
|
||||
new SlotCollectionTask<T>(type, this, this).execute(new SlotCollectionTask.Params(){{
|
||||
new SlotCollectionTask<>(type, this, this).execute(new SlotCollectionTask.Params(){{
|
||||
Slots = _slots;
|
||||
Obj = obj;
|
||||
}});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue