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

Commit a89ef23e authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where the margins where not updated correctly

When updating a notification, the end margin was not
correctly updating, leading to overlapping text with
the image.

Change-Id: Ica3d21ff0268105d0a8a73527b8dad0225e12d5a
parent 570981d5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1666,6 +1666,7 @@ public class RemoteViews implements Parcelable, Filter {
            ViewGroup.LayoutParams layoutParams = target.getLayoutParams();
            if (layoutParams instanceof ViewGroup.MarginLayoutParams) {
                ((ViewGroup.MarginLayoutParams) layoutParams).setMarginEnd(end);
                target.setLayoutParams(layoutParams);
            }
        }