summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AutoInstallsLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/AutoInstallsLayout.java')
-rw-r--r--src/com/android/launcher3/AutoInstallsLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AutoInstallsLayout.java b/src/com/android/launcher3/AutoInstallsLayout.java
index b7a6d9ae9..d5c742321 100644
--- a/src/com/android/launcher3/AutoInstallsLayout.java
+++ b/src/com/android/launcher3/AutoInstallsLayout.java
@@ -581,7 +581,7 @@ public class AutoInstallsLayout {
// We can only have folders with >= 2 items, so we need to remove the
// folder and clean up if less than 2 items were included, or some
// failed to add, and less than 2 were actually added
- if (folderItems.size() < 2) {
+ if (folderItems.size() < 2 && !isRemoteFolder()) {
// Delete the folder
Uri uri = Favorites.getContentUri(folderId, false);
SqlArguments args = new SqlArguments(uri, null, null);