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

Commit be16a2bb authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Cleanup flag big_picture_style_discard_empty_icon_bitmap_drawables.

This flag has been enabled in production for a few months now.

Flag: EXEMPT removal
Fixes: 409613151
Test: presubmit
Change-Id: Ie67ab1a05a1136a699612dbdc02b21831dff4ea7
parent b8f396ee
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -28,16 +28,6 @@ flag {
  }
}

flag {
    name: "big_picture_style_discard_empty_icon_bitmap_drawables"
    namespace: "systemui"
    description: "BigPictureStyle: Ignore Icon BitmapDrawables without Bitmaps"
    bug: "335878768"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
  name: "drop_non_existing_messages"
  namespace: "systemui"
+2 −6
Original line number Diff line number Diff line
@@ -125,12 +125,8 @@ public class BigPictureNotificationImageView extends ImageView implements
    public void setImageDrawable(@Nullable Drawable drawable) {
        if (drawable instanceof BitmapDrawable bitmapDrawable) {
            if (bitmapDrawable.getBitmap() == null) {
                if (Flags.bigPictureStyleDiscardEmptyIconBitmapDrawables()) {
                Log.e(TAG, "discarding BitmapDrawable with null Bitmap (invalid image file?)");
                drawable = null;
                } else {
                    Log.e(TAG, "setting BitmapDrawable with null Bitmap (invalid image file?)");
                }
            }
        }