Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8faece77 authored by Mark Harman's avatar Mark Harman
Browse files

Suppress deprecated warning.

parent 70c8b91e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4721,6 +4721,8 @@ public class MainActivity extends AppCompatActivity implements PreferenceFragmen
                                    thumbnail = getContentResolver().loadThumbnail(media.uri, size, new CancellationSignal());
                                }
                                else {
                                    // non-deprecated getContentResolver().loadThumbnail requires Android Q
                                    //noinspection deprecation
                                    thumbnail = MediaStore.Video.Thumbnails.getThumbnail(getContentResolver(), media.id, MediaStore.Video.Thumbnails.MINI_KIND, null);
                                }
                            }