Workaround launcher permission problems

pull/147/head
M66B 6 years ago
parent d987d0ec75
commit c8a989fa60

@ -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(

Loading…
Cancel
Save