Merge "Update secondary task menu check to explicitly check for phone" into tm-qpr-dev am: 7532df84c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19944101 Change-Id: Ib0f0babe2fc3d023c713a6cdf7b23725e0d7f7e1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -167,7 +167,7 @@ public class GroupedTaskView extends TaskView {
|
||||
@Override
|
||||
protected boolean showTaskMenuWithContainer(IconView iconView) {
|
||||
boolean showedTaskMenu = super.showTaskMenuWithContainer(iconView);
|
||||
if (iconView == mIconView2 && showedTaskMenu && !isGridTask()) {
|
||||
if (iconView == mIconView2 && showedTaskMenu && !mActivity.getDeviceProfile().isTablet) {
|
||||
// Adjust the position of the secondary task's menu view (only on phones)
|
||||
TaskMenuView taskMenuView = getAnyView(mActivity, AbstractFloatingView.TYPE_TASK_MENU);
|
||||
DeviceProfile deviceProfile = mActivity.getDeviceProfile();
|
||||
|
||||
Reference in New Issue
Block a user