code: public static void setTranslucentStatusFlag(Activity activity, boolean on) {
          if (Build.VERSION.SDK_INT >= 19) {
              setFlag(activity, WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS, on);
          }
      }
docs: helper method to set the TranslucentStatusFlag
  
  @param on