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

Commit 5ecb30f9 authored by Anthony Chen's avatar Anthony Chen Committed by Android (Google) Code Review
Browse files

Merge "Allow progress bar dimensions to be configured."

parents f30921e2 8f5f358f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6724,8 +6724,8 @@ public class Notification implements Parcelable
                // Need to clone customContent before adding, because otherwise it can no longer be
                // parceled independently of remoteViews.
                customContent = customContent.clone();
                remoteViews.removeAllViews(R.id.notification_main_column);
                remoteViews.addView(R.id.notification_main_column, customContent);
                remoteViews.removeAllViewsExceptId(R.id.notification_main_column, R.id.progress);
                remoteViews.addView(R.id.notification_main_column, customContent, 0 /* index */);
            }
            // also update the end margin if there is an image
            int endMargin = R.dimen.notification_content_margin_end;
Loading