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

Commit ad3c4a13 authored by Alan Viverette's avatar Alan Viverette
Browse files

Fix build

Change-Id: I09c649b3385ed46956f2d784546c430298de3069
parent 6abd0d80
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -3419,9 +3419,8 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {

    private Drawable loadImageURI(Uri uri) {
        try {
            final Context context = getContext();
            return Drawable.createFromStreamThemed(
                    context.getContentResolver().openInputStream(uri), null, context.getTheme());
            return Drawable.createFromStream(
                    getContext().getContentResolver().openInputStream(uri), null);
        } catch (Exception e) {
            Log.w(TAG, "Unable to open content: " + uri);
        }