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

Commit 71a7976e authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "QS: Protect against crash with no icon" into nyc-dev am: 7b945d8d

am: a58c1a52

* commit 'a58c1a52':
  QS: Protect against crash with no icon

Change-Id: I20c0c15d3e7358f056198280d8d9c2b0d9ca4115
parents 86a0e3be a58c1a52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ public class QSIconView extends ViewGroup {
            Drawable d = state.icon != null
                    ? iv.isShown() && mAnimationEnabled ? state.icon.getDrawable(mContext)
                    : state.icon.getInvisibleDrawable(mContext) : null;
            int padding = state.icon != null ? state.icon.getPadding() : null;
            int padding = state.icon != null ? state.icon.getPadding() : 0;
            if (d != null && state.autoMirrorDrawable) {
                d.setAutoMirrored(true);
            }