public static void clear() {
    sRegistry = null;
  }
Stores some of the static state. We bundle this into a class for easy cleanup.
core/src/main/java/com/facebook/testing/screenshot/internal/Registry.java