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

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

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

parents 18f0d651 eb40b4cd
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);
    }
}