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
This commit is contained in:
@@ -415,7 +415,7 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Dialog showing error when too many providers are selected. */
|
/** Dialog showing error when too many providers are selected. */
|
||||||
private static class ErrorDialogFragment extends CredentialManagerDialogFragment {
|
public static class ErrorDialogFragment extends CredentialManagerDialogFragment {
|
||||||
|
|
||||||
ErrorDialogFragment(DialogHost dialogHost) {
|
ErrorDialogFragment(DialogHost dialogHost) {
|
||||||
super(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
|
* Confirmation dialog fragment shows a dialog to the user to confirm that they are disabling a
|
||||||
* provider.
|
* provider.
|
||||||
*/
|
*/
|
||||||
private static class ConfirmationDialogFragment extends CredentialManagerDialogFragment {
|
public static class ConfirmationDialogFragment extends CredentialManagerDialogFragment {
|
||||||
|
|
||||||
ConfirmationDialogFragment(
|
ConfirmationDialogFragment(
|
||||||
DialogHost dialogHost, @NonNull String packageName, @NonNull CharSequence appName) {
|
DialogHost dialogHost, @NonNull String packageName, @NonNull CharSequence appName) {
|
||||||
|
Reference in New Issue
Block a user