Skip to content

Commit

Permalink
Remove deprecated constructor in RoundedCorners
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=179580259
  • Loading branch information
sjudd committed Dec 20, 2017
1 parent 92d761d commit a6f1b1c
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.bumptech.glide.load.resource.bitmap;

import android.content.Context;
import android.graphics.Bitmap;
import android.support.annotation.NonNull;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
Expand All @@ -27,17 +26,6 @@ public RoundedCorners(int roundingRadius) {
this.roundingRadius = roundingRadius;
}

/**
* @param roundingRadius the corner radius (in device-specific pixels).
* @throws IllegalArgumentException if rounding radius is 0 or less.
*
* @deprecated Use {@link #RoundedCorners(int)}
*/
@Deprecated
public RoundedCorners(@SuppressWarnings("unused") Context context, int roundingRadius) {
this(roundingRadius);
}

@Override
protected Bitmap transform(
@NonNull BitmapPool pool, @NonNull Bitmap toTransform, int outWidth, int outHeight) {
Expand Down

0 comments on commit a6f1b1c

Please sign in to comment.