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

* commit 'a98dabf106919c02cf654489e34d37665e24e58e':
  [Rlog10] ResearchLogger change visible indicator to just lines on the side
main
Kurt Partridge 2012-12-20 10:45:04 -08:00 committed by Android Git Automerger
commit e78c4564a8
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,