package tools.fastlane.screengrab;

import android.annotation.TargetApi;
import android.app.Activity;
import android.os.Build;

import com.jraska.falcon.Falcon;

/**
 * <p>Screenshot strategy that delegates to Falcon for screenshot capture. <b>Requires
 * API level &gt;= 10</b></p>
 *
 * </ul>
 */
public class FalconScreenshotStrategy implements ScreenshotStrategy {

    private final Activity activity;

    public FalconScreenshotStrategy(Activity activity) {
        this.activity = activity;
    }

    @Override
    @TargetApi(Build.VERSION_CODES.GINGERBREAD_MR1)
    public void takeScreenshot(String screenshotName, ScreenshotCallback screenshotCallback) {
        screenshotCallback.screenshotCaptured(screenshotName, Falcon.takeScreenshotBitmap(activity));
    }
}

@@ -280,20 +280,8 @@
 /p%3E%0A
- *%0A * %3C/ul%3E%0A
  */%0A

Remove extra ul from screengrab falcon strat (#12247)