Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98fc569c authored by Raj Yengisetty's avatar Raj Yengisetty Committed by Matt Garnes
Browse files

Protected Apps: Remove protected folder if there are no entries

Change-Id: I942cd6b3753ebd932bdd3162b30db5b4fb45e536
parent eacfd7fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1202,7 +1202,7 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
    }

    private void replaceFolderWithFinalItem() {
        if (mInfo.hidden) {
        if (mInfo.hidden && getItemCount() >= 1) {
            return;
        }
        // Add the last remaining child to the workspace in place of the folder