summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/RemoteFolder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/RemoteFolder.java')
-rw-r--r--src/com/android/launcher3/RemoteFolder.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher3/RemoteFolder.java b/src/com/android/launcher3/RemoteFolder.java
index 9478ea641..136489466 100644
--- a/src/com/android/launcher3/RemoteFolder.java
+++ b/src/com/android/launcher3/RemoteFolder.java
@@ -173,6 +173,12 @@ public class RemoteFolder extends Folder {
}
}
+ @Override
+ public boolean onLongClick(View v) {
+ // Eat the event without doing anything. We do not allow users to remove items.
+ return true;
+ }
+
private void toggleInfoPane() {
if (mFolderHelpText.getVisibility() == VISIBLE) {
// info ImageView becomes a close "X" when the help text is showing, handle accordingly