mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 01:28:52 -06:00
Remove debug code
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user