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

Commit eb40b4cd authored by Manu Cornet's avatar Manu Cornet
Browse files

2D recents: fix typo where I was using the wrong dimension

Bug: 32101881
Test: Checked layout in portrait & landscape on sw600dp device
Change-Id: Iccf6205c00947d19053fa0ad444dd1c46365a50c
parent 3ddb8738
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ public class GridTaskView extends TaskView {
    public GridTaskView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
        mHeaderHeight = context.getResources().getDimensionPixelSize(
                R.dimen.recents_task_view_header_height);
                R.dimen.recents_grid_task_view_header_height);
    }

    @Override
@@ -65,7 +65,7 @@ public class GridTaskView extends TaskView {
    protected void onConfigurationChanged() {
        super.onConfigurationChanged();
        mHeaderHeight = mContext.getResources().getDimensionPixelSize(
                R.dimen.recents_task_view_header_height);
                R.dimen.recents_grid_task_view_header_height);
        mThumbnailView.setTranslationY(mHeaderHeight);
    }
}