discord-jadx/app/src/main/java/com/discord/utilities/contacts/ContactsFetcher.java
Juby210 02b39b5eaf
Enable replacing const values in jadx
Tracking changes should be much easier now.
2021-08-10 00:50:52 +02:00

24 lines
751 B
Java

package com.discord.utilities.contacts;
import android.content.Context;
import d0.t.n0;
import d0.z.d.m;
import java.util.Set;
/* compiled from: ContactsFetcher.kt */
public final class ContactsFetcher {
private final Context context;
public ContactsFetcher(Context context) {
m.checkNotNullParameter(context, "context");
this.context = context;
}
public final Set<String> fetchContacts() {
ContactsProviderUtils contactsProviderUtils = ContactsProviderUtils.INSTANCE;
return !contactsProviderUtils.hasContactPermissions(this.context) ? n0.emptySet() : contactsProviderUtils.getAllContactPhoneNumbers(this.context);
}
public final Context getContext() {
return this.context;
}
}