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

This commit is contained in:
Kurt Partridge 2012-12-20 10:43:11 -08:00 committed by Android (Google) Code Review
commit a98dabf106

View file

@ -647,7 +647,8 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
final float savedStrokeWidth = paint.getStrokeWidth();
if (IS_SHOWING_INDICATOR_CLEARLY) {
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 {
// 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,