Loading quickstep/src/com/android/quickstep/views/FloatingWidgetView.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading Loading
quickstep/src/com/android/quickstep/views/FloatingWidgetView.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading