mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Add an activity to decrypt the database
This commit is contained in:
parent
53e86db187
commit
722ea50b68
12 changed files with 192 additions and 69 deletions
|
@ -1,5 +1,6 @@
|
|||
package me.impy.aegis;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
|
@ -19,10 +20,13 @@ public class CustomAuthenticationSlide extends SlideFragment {
|
|||
buttonGroup = (RadioGroup) view.findViewById(R.id.rg_authenticationMethod);
|
||||
|
||||
RadioButton button = (RadioButton) view.findViewById(R.id.rb_fingerprint);
|
||||
button.setOnClickListener(v -> {
|
||||
if (canMoveFurther()) {
|
||||
buttonGroup.clearCheck();
|
||||
Toast.makeText(getActivity().getBaseContext(), "Fingerprint is not supported yet", Toast.LENGTH_SHORT).show();
|
||||
button.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (canMoveFurther()) {
|
||||
buttonGroup.clearCheck();
|
||||
Toast.makeText(CustomAuthenticationSlide.this.getActivity(), "Fingerprint is not supported yet", Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue