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

Commit c5fec774 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix null pointer in FloatingWidgetView" into 24D1-dev

parents 4f54cceb 7435831c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -305,7 +305,8 @@ public class FloatingWidgetView extends FrameLayout implements AnimatorListener,
     */
    public static int getDefaultBackgroundColor(
            Context context, RemoteAnimationTarget target) {
        return (target != null && target.taskInfo.taskDescription != null)
        return (target != null && target.taskInfo != null
                && target.taskInfo.taskDescription != null)
                ? target.taskInfo.taskDescription.getBackgroundColor()
                : Themes.getColorBackground(context);
    }