Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38fface5 authored by Becca Hughes's avatar Becca Hughes
Browse files

Fix bug in credential manager settings (dialogs)

The dialogs crash when opened because they
need to be public so they can be recreated.

Bug: 253157366
Test: make & manual test
Change-Id: I5ad8d5e49be7c0f926b9d4e3383109aae398925b
parent 36903136
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl
    }

    /** Dialog showing error when too many providers are selected. */
    private static class ErrorDialogFragment extends CredentialManagerDialogFragment {
    public static class ErrorDialogFragment extends CredentialManagerDialogFragment {

        ErrorDialogFragment(DialogHost dialogHost) {
            super(dialogHost);
@@ -438,7 +438,7 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl
     * Confirmation dialog fragment shows a dialog to the user to confirm that they are disabling a
     * provider.
     */
    private static class ConfirmationDialogFragment extends CredentialManagerDialogFragment {
    public static class ConfirmationDialogFragment extends CredentialManagerDialogFragment {

        ConfirmationDialogFragment(
                DialogHost dialogHost, @NonNull String packageName, @NonNull CharSequence appName) {