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

Commit 8ca3a366 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Fix shift in share sheet" into oc-mr1-dev

am: 3a31bded

Change-Id: I3e1b3f3acf77a9df31b3f38b942bcbc728efffeb
parents f2cd0f61 3a31bded
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1470,10 +1470,8 @@ public class ChooserActivity extends ResolverActivity {
            }

            final int oldHeight = holder.row.getLayoutParams().height;
            int measuredRowHeight = holder.measuredRowHeight + holder.row.getPaddingTop()
                    + holder.row.getPaddingBottom();
            holder.row.getLayoutParams().height = Math.max(1,
                    (int) (measuredRowHeight * getRowScale(rowPosition)));
                    (int) (holder.measuredRowHeight * getRowScale(rowPosition)));
            if (holder.row.getLayoutParams().height != oldHeight) {
                holder.row.requestLayout();
            }