Remove the debugging code that left icons selected longer than they should be.
diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java
index 7c7de15..95f36d6 100644
--- a/src/com/android/launcher2/AllAppsView.java
+++ b/src/com/android/launcher2/AllAppsView.java
@@ -618,9 +618,6 @@
mScript.bindAllocation(mAllocLabelID, Defines.ALLOC_LABEL_IDS);
}
- if (mAllAppsList != null) {
- selectIcon(0); // TODO remove
- }
mState.save();
}
@@ -715,7 +712,7 @@
* You need to call save() on mState on your own after calling this.
*/
void clearSelectedIcon() {
- //mState.selectedIconIndex = -1;
+ mState.selectedIconIndex = -1;
}
}
}