Close Folder when an item is auto added to it.

This can happen when items (as part of a Work Profile) are auto added
to the Work profile Folder.

Bug: 35628160
Change-Id: I29d3b277b0e9cd4bb238fb5aff9a52c6b9e764f8
This commit is contained in:
Jon Miranda committed 2017-02-22 10:55:52 -08:00
1 parent 25867b8c92
commit 440609453f
4 files changed
+23 -2

No files matched your search

@@ -980,6 +980,10 @@ public class FolderIcon extends FrameLayout implements FolderListener {
requestLayout();
}
@Override
public void prepareAutoAdd() {
}
@Override
public void onAdd(ShortcutInfo item) {
int oldCount = mBadgeInfo.getNotificationCount();