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

Commit 19212f4a authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 23416c06: Fix build

* commit '23416c06c4cb2dba437c4ef749857e085bc76d18':
  Fix build
parents f573765b ad3c4a13
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -3419,9 +3419,8 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {


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