From 51425313dbcbdf2eac39ccc94e8143247323c19e Mon Sep 17 00:00:00 2001 From: Gus Prevas Date: Thu, 15 Nov 2018 15:16:14 -0500 Subject: Swaps position of expand button and bell icon. This change puts the expand caret at the end of the notification header if the new interruption model is turned on, and moves the bell icon on noisy notifications from the end of the header to directly after the header text. Test: manually Change-Id: I2a97f80920598f5f99f2d9c3b14d58858e1de1bb --- core/java/android/view/NotificationHeaderView.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/java/android/view/NotificationHeaderView.java') diff --git a/core/java/android/view/NotificationHeaderView.java b/core/java/android/view/NotificationHeaderView.java index fa30221d2a30..4a5ccdff0dd3 100644 --- a/core/java/android/view/NotificationHeaderView.java +++ b/core/java/android/view/NotificationHeaderView.java @@ -218,11 +218,6 @@ public class NotificationHeaderView extends ViewGroup { layoutRight = end - paddingEnd; end = layoutLeft = layoutRight - child.getMeasuredWidth(); } - if (child == mAudiblyAlertedIcon) { - int paddingEnd = mContentEndMargin; - layoutRight = end - paddingEnd; - end = layoutLeft = layoutRight - child.getMeasuredWidth(); - } if (getLayoutDirection() == LAYOUT_DIRECTION_RTL) { int ltrLeft = layoutLeft; layoutLeft = getWidth() - layoutRight; -- cgit v1.2.3