mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
stop crashes when sending sms
// FREEBIE
This commit is contained in:
parent
43adc75428
commit
31b9dcb5eb
@ -69,6 +69,10 @@ public class JobManager implements RequirementListener {
|
||||
}
|
||||
|
||||
public RequirementProvider getRequirementProvider(String name) {
|
||||
if (requirementProviders == null || requirementProviders.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
for (RequirementProvider provider : requirementProviders) {
|
||||
if (provider.getName().equals(name)) {
|
||||
return provider;
|
||||
|
Loading…
Reference in New Issue
Block a user