Merge "[Rlog10] ResearchLogger change visible indicator to just lines on the side"

main
Kurt Partridge 2012-12-20 10:43:11 -08:00 committed by Android (Google) Code Review
commit a98dabf106
1 changed files with 2 additions and 1 deletions

View File

@ -647,7 +647,8 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
final float savedStrokeWidth = paint.getStrokeWidth(); final float savedStrokeWidth = paint.getStrokeWidth();
if (IS_SHOWING_INDICATOR_CLEARLY) { if (IS_SHOWING_INDICATOR_CLEARLY) {
paint.setStrokeWidth(5); paint.setStrokeWidth(5);
canvas.drawRect(0, 0, width, height, paint); canvas.drawLine(0, 0, 0, height, paint);
canvas.drawLine(width, 0, width, height, paint);
} else { } else {
// Put a tiny red dot on the screen so a knowledgeable user can check whether // Put a tiny red dot on the screen so a knowledgeable user can check whether
// it is enabled. The dot is actually a zero-width, zero-height rectangle, // it is enabled. The dot is actually a zero-width, zero-height rectangle,