code: public void clearResult() {
  
          final Drawable result = this.result;
  
          if (result != null) {
              result.setCallback(null);
              this.result = null;
  
              // clear bounds
              setBounds(0, 0, 0, 0);
          }
      }
docs: Remove result from this drawable (for example, in case of cancellation)
  
  @since 3.0.1