am 71c3a3d9: am 6c3a45d7: am 57f8a4b4: am 1ff2df61: Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE" into klp-dev
* commit '71c3a3d9474e1ce4210209bbd68055f3b780057d': Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE
This commit is contained in:
@@ -1210,6 +1210,7 @@ public class CalendarView extends FrameLayout {
|
|||||||
child = (WeekView) view.getChildAt(offset);
|
child = (WeekView) view.getChildAt(offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (child != null) {
|
||||||
// Find out which month we're moving into
|
// Find out which month we're moving into
|
||||||
int month;
|
int month;
|
||||||
if (mIsScrollingUp) {
|
if (mIsScrollingUp) {
|
||||||
@@ -1239,6 +1240,8 @@ public class CalendarView extends FrameLayout {
|
|||||||
}
|
}
|
||||||
setMonthDisplayed(firstDay);
|
setMonthDisplayed(firstDay);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mPreviousScrollPosition = currScroll;
|
mPreviousScrollPosition = currScroll;
|
||||||
mPreviousScrollState = mCurrentScrollState;
|
mPreviousScrollState = mCurrentScrollState;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user