@SuppressLint("SetWorldWritable")
  private void setWorldWriteable(File dir) {
    // Context.MODE_WORLD_WRITEABLE has been deprecated, so let's
    // manually set this
    dir.setWritable(/* writeable= */ true, /* ownerOnly= */ false);
  }
Provides a directory for an Album to store its screenshots in.
core/src/main/java/com/facebook/testing/screenshot/internal/ScreenshotDirectories.java