Converting PopupContainerWithArrow into a base class so that it is easier

to create other types of popup

Bug: 67585158
Change-Id: I966ae7bb90f941951b26feaf71b3ea30c3f3c0cc
This commit is contained in:
Sunny Goyal committed 2017-10-10 10:28:05 -07:00
1 parent 271e219ea3
commit 10a1bd0e65
9 files changed
+701 -512

No files matched your search

@@ -31,7 +31,6 @@ import com.android.launcher3.AbstractFloatingView;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherAppState;
import com.android.launcher3.graphics.IconPalette;
import com.android.launcher3.popup.PopupContainerWithArrow;
import com.android.launcher3.util.PackageUserKey;
/**
@@ -110,7 +109,7 @@ public class NotificationInfo implements View.OnClickListener {
launcher.getPopupDataProvider().cancelNotification(notificationKey);
}
AbstractFloatingView.closeOpenContainer(launcher, AbstractFloatingView
.TYPE_POPUP_CONTAINER_WITH_ARROW);
.TYPE_ACTION_POPUP);
}
public Drawable getIconForBackground(Context context, int background) {