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

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

Merge "Center crop and clip notification image."

parents 5022d379 9b53150b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17914,6 +17914,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @see #setOutlineProvider(ViewOutlineProvider)
     * @see #getClipToOutline()
     */
    @RemotableViewMethod
    public void setClipToOutline(boolean clipToOutline) {
        damageInParent();
        if (getClipToOutline() != clipToOutline) {
+3 −1
Original line number Diff line number Diff line
@@ -168,6 +168,7 @@
                </LinearLayout>
            </LinearLayout>
            <LinearLayout
                android:id="@+id/content_background"
                android:background="@drawable/people_space_content_background"
                android:layout_gravity="center"
                android:layout_width="match_parent"
@@ -187,7 +188,8 @@
                    android:id="@+id/image"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:visibility="gone"/>
                    android:visibility="gone"
                    android:scaleType="centerCrop"/>
            </LinearLayout>
        </LinearLayout>
    </RelativeLayout>
+1 −0
Original line number Diff line number Diff line
@@ -294,6 +294,7 @@ public class PeopleSpaceUtils {
                    )
            );
            views.setImageViewIcon(R.id.person_icon, tile.getUserIcon());
            views.setBoolean(R.id.content_background, "setClipToOutline", true);

            Intent activityIntent = new Intent(context, LaunchConversationActivity.class);
            activityIntent.addFlags(