package com.kickstarter.libs;

import android.content.Context;
import android.support.annotation.NonNull;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;

public class StatusBarUtils {
  private StatusBarUtils() {}

  public static void apply(@NonNull final BaseActivity activity, final int color) {
    if (!ApiCapabilities.canSetStatusBarColor()) {
      return;
    }

    final Window window = activity.getWindow();
    window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
    window.setStatusBarColor(color);
  }

  public static void apply(@NonNull final BaseActivity activity, final int color, final boolean overlayShouldBeLight) {
    apply(activity, color);

    if (!ApiCapabilities.canSetDarkStatusBarIcons()) {
      return;
    }

    final int uiFlag = overlayShouldBeLight ?
      View.SYSTEM_UI_FLAG_VISIBLE :
      View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
    final Window window = activity.getWindow();
    window.getDecorView().setSystemUiVisibility(uiFlag);
  }
}

@@ -56,16 +56,60 @@
 ontext;%0A
+import android.support.annotation.ColorInt;%0A
 import a
@@ -357,32 +357,42 @@
 activity, final 
+@ColorInt 
 int color) %7B%0A   
@@ -700,24 +700,34 @@
 vity, final 
+@ColorInt 
 int color, f
@@ -724,16 +724,20 @@
 t color,
+%0A   
  final b

Add colorint annotations