public static long getMaxPixels() {
    return ScreenshotImpl.getMaxPixels();
  }
@return The largest amount of pixels we'll capture, otherwise an exception will be thrown.
core/src/main/java/com/facebook/testing/screenshot/Screenshot.java