android: Switch to AppCompat/Material theme for dialogs
[strongswan.git] / src / frontends / android / app / src / main / java / org / strongswan / android / ui / TrustedCertificatesActivity.java
index 5f66625..bba61ba 100644 (file)
@@ -158,7 +158,7 @@ public class TrustedCertificatesActivity extends AppCompatActivity implements Tr
                                args.putString(CertificateDeleteConfirmationDialog.ALIAS, selected.getAlias());
                                CertificateDeleteConfirmationDialog dialog = new CertificateDeleteConfirmationDialog();
                                dialog.setArguments(args);
-                               dialog.show(this.getFragmentManager(), DIALOG_TAG);
+                               dialog.show(getSupportFragmentManager(), DIALOG_TAG);
                        }
                }
        }