@Override
        public @Nullable Object invoke(Object project, Method method, Object[] args) {
          if ("getCoverStateSwitch".equals(method.getName())) {
            // needed for Samsung version of Android 8.0
            return false;
          }
          return null;
        }
Keep track of all the attached windows here so that we don't double attach them.
core/src/main/java/com/facebook/testing/screenshot/WindowAttachment.java