summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2016-01-18 12:07:36 -0800
committerTom Powell <zifnab@zifnab06.net>2017-03-26 16:14:44 -0700
commit87327604eab030828f9bbe20d9953c7263dcee3f (patch)
tree2b046ac09252188a2e960f524017a491556d243c
parente2cfb5efdc4c6430c7a03fe410468e19518dd446 (diff)
downloadandroid_packages_apps_Trebuchet-87327604eab030828f9bbe20d9953c7263dcee3f.zip
android_packages_apps_Trebuchet-87327604eab030828f9bbe20d9953c7263dcee3f.tar.gz
android_packages_apps_Trebuchet-87327604eab030828f9bbe20d9953c7263dcee3f.tar.bz2
Trebuchet: Don't animate open folder if already open
Issue-id: CYNGNOS-1603 Change-Id: I3d723ca28ea35b06fa45f5c03b8161291e3ec558
-rw-r--r--src/com/android/launcher3/Launcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 901a9b2..90eec62 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -3508,6 +3508,7 @@ public class Launcher extends Activity
} else {
Log.w(TAG, "Opening folder (" + folder + ") which already has a parent (" +
folder.getParent() + ").");
+ return;
}
folder.animateOpen(getWorkspace(), folderTouch);
/*growAndFadeOutFolderIcon(folderIcon);*/