1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 06:01:12 +00:00

Workaround launcher permission problems

This commit is contained in:
M66B 2018-12-17 13:04:27 +01:00
parent d987d0ec75
commit c8a989fa60

View file

@ -646,7 +646,7 @@ public class ServiceSynchronize extends LifecycleService {
},
null, null, null);
if (cursor.moveToNext()) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
if (true || Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
Uri uri = ContactsContract.Contacts.getLookupUri(
cursor.getLong(0), cursor.getString(1));
InputStream is = ContactsContract.Contacts.openContactPhotoInputStream(