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
2017-10-09 14:56:21 -07:00
parent 271e219ea3
commit 10a1bd0e65
9 changed files with 701 additions and 512 deletions

View File

@@ -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) {