Merge "Prevents an extra Widget shortcut from showing when popup receives update." into tm-qpr-dev am: b8827be992

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21956947

Change-Id: I422b55875afe590abe536d7593cc979f17f8dfa4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Charlie Anderson
2023-03-10 23:30:34 +00:00
committed by Automerger Merge Worker

View File

@@ -463,6 +463,7 @@ public class PopupContainerWithArrow<T extends Context & ActivityContext>
return;
}
mSystemShortcutContainer = inflateAndAdd(systemShortcutContainerLayout, this);
mWidgetContainer = mSystemShortcutContainer;
for (int i = 0; i < systemShortcuts.size(); i++) {
initializeSystemShortcut(
systemShortcutLayout,