mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Merge "Fix bug by allowing popup notifications to be dismissed via swipe" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e3b583277c
@@ -227,17 +227,18 @@ public class PopupContainerWithArrow<T extends Context & ActivityContext>
|
||||
if (ENABLE_MATERIAL_U_POPUP.get()) {
|
||||
container = (PopupContainerWithArrow) launcher.getLayoutInflater().inflate(
|
||||
R.layout.popup_container_material_u, launcher.getDragLayer(), false);
|
||||
container.configureForLauncher(launcher);
|
||||
container.populateAndShowRowsMaterialU(icon, deepShortcutCount, systemShortcuts);
|
||||
} else {
|
||||
container = (PopupContainerWithArrow) launcher.getLayoutInflater().inflate(
|
||||
R.layout.popup_container, launcher.getDragLayer(), false);
|
||||
container.configureForLauncher(launcher);
|
||||
container.populateAndShow(
|
||||
icon,
|
||||
deepShortcutCount,
|
||||
popupDataProvider.getNotificationKeysForItem(item),
|
||||
systemShortcuts);
|
||||
}
|
||||
container.configureForLauncher(launcher);
|
||||
launcher.refreshAndBindWidgetsForPackageUser(PackageUserKey.fromItemInfo(item));
|
||||
container.requestFocus();
|
||||
return container;
|
||||
|
||||
Reference in New Issue
Block a user