Workaround launcher permission problems

This commit is contained in:
M66B 2018-12-17 13:04:27 +01:00
parent d987d0ec75
commit c8a989fa60
1 changed files with 1 additions and 1 deletions

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(