Remove logging from SlashDrawable

Test: make -j40
Change-Id: Id706c478053980ccae8be0c96d5c44602b0b9682
This commit is contained in:
Evan Laird
2017-05-23 11:39:46 -04:00
parent 211ad9bc66
commit f21fb13cc9

View File

@@ -27,7 +27,6 @@ import android.graphics.Path;
import android.graphics.PorterDuff.Mode;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.util.Log;
public class SlashDrawable extends Drawable {
@@ -85,7 +84,6 @@ public class SlashDrawable extends Drawable {
}
public void setSlashed(boolean slashed) {
Log.d("TestTest", "setSlashed " + slashed);
if (mSlashed == slashed) return;
// TODO: Animate.
mSlashed = slashed;
@@ -95,7 +93,6 @@ public class SlashDrawable extends Drawable {
@Override
public void draw(@NonNull Canvas canvas) {
canvas.save();
Log.d("TestTest", "draw " + mSlashed);
if (mSlashed) {
Matrix m = new Matrix();
int width = getBounds().width();