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

Commit 369ecdd8 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." into rvc-qpr-dev

parents f7741b10 7cdf9201
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -562,8 +562,10 @@ public class PipMenuActivity extends Activity {

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