@Override
    public void onAnimationEnd(Animator animation) {
      super.onAnimationEnd(animation);

      RevealAnimator target = mReference.get();

      if (target == null) {
        return;
      }

      target.setClipOutlines(false);
      target.setCenter(0, 0);
      target.setTarget(null);
      target.invalidate(mInvalidateBounds);
    }
    @Override
    @TargetApi(Build.VERSION_CODES.HONEYCOMB)
    public void onAnimationEnd(Animator animation) {
      super.onAnimationEnd(animation);
      ((View) mReference.get()).setLayerType(mLayerType, null);

      RevealAnimator target = mReference.get();

      if (target == null) {
        return;
      }

      target.setClipOutlines(false);
      target.setCenter(0, 0);
      target.setTarget(null);
      target.invalidate(mInvalidateBounds);
    }