Dialog icons

This commit is contained in:
M66B
2021-10-26 12:57:23 +02:00
parent bded0353cb
commit 6624975514
17 changed files with 22 additions and 1 deletions

View File

@@ -632,6 +632,7 @@ public class FragmentBase extends Fragment {
@RequiresApi(api = Build.VERSION_CODES.Q)
private void handle(RecoverableSecurityException ex) {
new AlertDialog.Builder(getContext())
.setIcon(R.drawable.twotone_help_24)
.setMessage(ex.getMessage())
.setPositiveButton(ex.getUserAction().getTitle(), new DialogInterface.OnClickListener() {
@Override