summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/folder
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-10-11 10:54:39 -0700
committerSunny Goyal <sunnygoyal@google.com>2016-10-11 10:55:14 -0700
commit3f8864069be20d14debacddee610062f3feae5a1 (patch)
tree63d3dc56d644e12242c0f045e7ea7aa71b068980 /src/com/android/launcher3/folder
parent327f7b712538f5a4c8488cefb1a2e764674495eb (diff)
downloadandroid_packages_apps_Trebuchet-3f8864069be20d14debacddee610062f3feae5a1.tar.gz
android_packages_apps_Trebuchet-3f8864069be20d14debacddee610062f3feae5a1.tar.bz2
android_packages_apps_Trebuchet-3f8864069be20d14debacddee610062f3feae5a1.zip
Announcing the final action when the drag-drop completes
Bug:31926812 Change-Id: Id0566cc7dc15732981320807a02fb9cae8a885e6
Diffstat (limited to 'src/com/android/launcher3/folder')
-rw-r--r--src/com/android/launcher3/folder/Folder.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/folder/Folder.java b/src/com/android/launcher3/folder/Folder.java
index ebbe64127..0ae3a6224 100644
--- a/src/com/android/launcher3/folder/Folder.java
+++ b/src/com/android/launcher3/folder/Folder.java
@@ -1346,6 +1346,10 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
// The animation has already been shown while opening the folder.
mInfo.setOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION, true, mLauncher);
}
+
+ if (d.stateAnnouncer != null) {
+ d.stateAnnouncer.completeAction(R.string.item_moved);
+ }
}
// This is used so the item doesn't immediately appear in the folder when added. In one case