Added fail-safe

pull/207/head
M66B 3 years ago
parent 9cf72bc018
commit 7b78f30037

@ -322,6 +322,7 @@ public class EmailProvider implements Parcelable {
}
static EmailProvider getProvider(Context context, String id) throws FileNotFoundException {
if (id != null)
for (EmailProvider provider : loadProfiles(context))
if (id.equals(provider.id))
return provider;

Loading…
Cancel
Save