Permalink
Browse files

Fix rotation bug

Change mScale to static otherwise the code block in line 94 will be
execute multiple times when device rotates.
  • Loading branch information...
mac_wang mac_wang
mac_wang authored and mac_wang committed Feb 6, 2012
1 parent c40a390 commit b6f23cbf75cdac02a5e88c5804eb7199ea51efa3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/android/calendar/selectcalendars/SelectCalendarsSimpleAdapter.java
@@ -65,7 +65,7 @@
private int mColorColumn;
private int mVisibleColumn;
private int mOwnerAccountColumn;
- private float mScale = 0;
+ private static float mScale = 0;
private int mColorCalendarVisible;
private int mColorCalendarHidden;
private int mColorCalendarSecondaryVisible;

0 comments on commit b6f23cb

Please sign in to comment.