Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7532df84 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update secondary task menu check to explicitly check for phone" into tm-qpr-dev

parents 610db4fc 2e39049b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();