mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Removing some unnecessary interfaces and merging them to ActivityContext
Bug: 259733681 Test: Everything compiles Change-Id: If6b530f6e589a851cf8554f5de0849843bd66dd4
This commit is contained in:
@@ -139,12 +139,12 @@ public class OptionsPopupView extends ArrowPopup<Launcher>
|
||||
mTargetRect.roundOut(outPos);
|
||||
}
|
||||
|
||||
public static OptionsPopupView show(AppLauncher launcher, RectF targetRect,
|
||||
public static OptionsPopupView show(ActivityContext launcher, RectF targetRect,
|
||||
List<OptionItem> items, boolean shouldAddArrow) {
|
||||
return show(launcher, targetRect, items, shouldAddArrow, 0 /* width */);
|
||||
}
|
||||
|
||||
public static OptionsPopupView show(AppLauncher launcher, RectF targetRect,
|
||||
public static OptionsPopupView show(ActivityContext launcher, RectF targetRect,
|
||||
List<OptionItem> items, boolean shouldAddArrow, int width) {
|
||||
OptionsPopupView popup = (OptionsPopupView) launcher.getLayoutInflater()
|
||||
.inflate(R.layout.longpress_options_menu, launcher.getDragLayer(), false);
|
||||
|
||||
Reference in New Issue
Block a user