Cleaning up dead code.
Change-Id: I922e20b41d19ca9936c75277ba7c58a291d297fa
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java
index 9991d9d..fa6a570 100644
--- a/src/com/android/launcher2/PagedView.java
+++ b/src/com/android/launcher2/PagedView.java
@@ -166,7 +166,7 @@
private static final int sScrollIndicatorFadeOutDuration = 650;
// If set, will defer loading associated pages until the scrolling settles
- private boolean mDeferLoadAssociatedPagesAfterScroll;
+ private boolean mDeferLoadAssociatedPagesUntilScrollCompletes;
public interface PageSwitchListener {
void onPageSwitch(View newPage, int newPageIndex);
@@ -375,9 +375,9 @@
notifyPageSwitchListener();
// Load the associated pages if necessary
- if (mDeferLoadAssociatedPagesAfterScroll) {
+ if (mDeferLoadAssociatedPagesUntilScrollCompletes) {
loadAssociatedPages(mCurrentPage);
- mDeferLoadAssociatedPagesAfterScroll = false;
+ mDeferLoadAssociatedPagesUntilScrollCompletes = false;
}
// We don't want to trigger a page end moving unless the page has settled
@@ -1390,7 +1390,7 @@
if (mDeferScrollUpdate) {
loadAssociatedPages(mNextPage);
} else {
- mDeferLoadAssociatedPagesAfterScroll = true;
+ mDeferLoadAssociatedPagesUntilScrollCompletes = true;
}
notifyPageSwitchListener();
invalidate();