docs: @NonNull
      public static EGLConfigChooser newFailsafeEGLConfigChooser(
              final int samples,
              @Nullable final EGLConfigChooserCallback callback) {
          if (samples < 0) {
              throw new IllegalArgumentException("samples must not be negative");
          }
  
          if (samples == 0) {
              return new FailsafeRGB888ConfigChooser(callback);
          } else {
              return new FailsafeMultisamplingConfigChooser(samples, callback);
          }
      }