mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 05:22:23 +00:00
Disabled unused permissions
This commit is contained in:
@@ -187,6 +187,8 @@ public class ContactsCursorLoader extends CursorLoader {
|
||||
ContactsDatabase contactsDatabase = DatabaseFactory.getContactsDatabase(getContext());
|
||||
List<Cursor> cursorList = new ArrayList<>(2);
|
||||
|
||||
return cursorList;
|
||||
/*
|
||||
if (!Permissions.hasAny(getContext(), Manifest.permission.READ_CONTACTS, Manifest.permission.WRITE_CONTACTS)) {
|
||||
return cursorList;
|
||||
}
|
||||
@@ -201,6 +203,7 @@ public class ContactsCursorLoader extends CursorLoader {
|
||||
cursorList.add(filterNonPushContacts(contactsDatabase.querySystemContacts(filter)));
|
||||
}
|
||||
return cursorList;
|
||||
*/
|
||||
}
|
||||
|
||||
private Cursor getGroupsCursor() {
|
||||
|
||||
Reference in New Issue
Block a user