Debug: OAuth Outlook/Office 365 (alt)

This commit is contained in:
M66B
2022-12-29 10:23:47 +01:00
parent 6df0d39647
commit 67ade5cc9c
2 changed files with 11 additions and 7 deletions

View File

@@ -227,7 +227,12 @@ public class EmailProvider implements Parcelable {
provider.description = xml.getAttributeValue(null, "description");
if (provider.description == null)
provider.description = provider.name;
provider.enabled = getAttributeBooleanValue(xml, "enabled", true);
String enabled = xml.getAttributeValue(null, "enabled");
if ("debug".equals(enabled))
provider.enabled = BuildConfig.DEBUG;
else
provider.enabled = getAttributeBooleanValue(xml, "enabled", true);
String domain = xml.getAttributeValue(null, "domain");
if (domain != null)