Removing some unnecessary interfaces and merging them to ActivityContext
Bug: 259733681 Test: Everything compiles Change-Id: If6b530f6e589a851cf8554f5de0849843bd66dd4
This commit is contained in:
1 parent
1c744c996c
commit
54fa110bba
16 files changed
+277
-302
No files matched your search
@@ -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