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

Commit 96a83351 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check for null when getting PiP action item drawables."

parents f03c5aa5 e09e8e8a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -394,8 +394,10 @@ public class PipMenuView extends FrameLayout {

                    // TODO: Check if the action drawable has changed before we reload it
                    action.getIcon().loadDrawableAsync(mContext, d -> {
                        if (d != null) {
                            d.setTint(Color.WHITE);
                            actionView.setImageDrawable(d);
                        }
                    }, mHandler);
                    actionView.setContentDescription(action.getContentDescription());
                    if (action.isEnabled()) {