Remove debug code

pull/77/merge
Alinson S. Xavier 10 years ago
parent 8b2f31c44a
commit e2e9e2e27a

@ -29,7 +29,6 @@ import android.text.Layout;
import android.text.StaticLayout; import android.text.StaticLayout;
import android.text.TextPaint; import android.text.TextPaint;
import android.util.AttributeSet; import android.util.AttributeSet;
import android.util.Log;
import android.view.View; import android.view.View;
import org.isoron.uhabits.R; import org.isoron.uhabits.R;
@ -98,7 +97,6 @@ public class RingView extends View
fadedTextColor = getResources().getColor(R.color.fadedTextColor); fadedTextColor = getResources().getColor(R.color.fadedTextColor);
textSize = getResources().getDimension(R.dimen.smallTextSize); textSize = getResources().getDimension(R.dimen.smallTextSize);
Log.d("RingView", String.format("textSize=%f", textSize));
rect = new RectF(); rect = new RectF();
} }

@ -238,7 +238,7 @@ public abstract class BaseWidgetProvider extends AppWidgetProvider
remoteViews.setTextViewText(R.id.label, habit.name); remoteViews.setTextViewText(R.id.label, habit.name);
remoteViews.setImageViewBitmap(R.id.imageView, drawingCache); remoteViews.setImageViewBitmap(R.id.imageView, drawingCache);
savePreview(context, widgetId, drawingCache); //savePreview(context, widgetId, drawingCache);
PendingIntent onClickIntent = getOnClickPendingIntent(context, habit); PendingIntent onClickIntent = getOnClickPendingIntent(context, habit);
if(onClickIntent != null) remoteViews.setOnClickPendingIntent(R.id.imageView, onClickIntent); if(onClickIntent != null) remoteViews.setOnClickPendingIntent(R.id.imageView, onClickIntent);

Loading…
Cancel
Save