Fixed disappearing customize button
Bug: 3130085
diff --git a/src/com/android/launcher2/ApplicationInfoDropTarget.java b/src/com/android/launcher2/ApplicationInfoDropTarget.java
index fe5ffd1..3e5ebd5 100644
--- a/src/com/android/launcher2/ApplicationInfoDropTarget.java
+++ b/src/com/android/launcher2/ApplicationInfoDropTarget.java
@@ -118,10 +118,10 @@
public void onDragEnd() {
if (mActive) {
mActive = false;
- if (mManageVisibility) {
- setVisibility(GONE);
- mHandle.setVisibility(VISIBLE);
- }
+ }
+ if (mManageVisibility) {
+ setVisibility(GONE);
+ mHandle.setVisibility(VISIBLE);
}
}