diff options
| author | Gus Prevas <kprevas@google.com> | 2018-11-15 15:16:14 -0500 |
|---|---|---|
| committer | Gus Prevas <kprevas@google.com> | 2018-11-15 15:16:14 -0500 |
| commit | 51425313dbcbdf2eac39ccc94e8143247323c19e (patch) | |
| tree | f1f530c45b5e1d4e4480ec328664874146dd76c3 /core/java/android/view/NotificationHeaderView.java | |
| parent | 7a12c5068b8627292323fcb0b4fdfd9fc168315f (diff) | |
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
Diffstat (limited to 'core/java/android/view/NotificationHeaderView.java')
| -rw-r--r-- | core/java/android/view/NotificationHeaderView.java | 5 |
1 files changed, 0 insertions, 5 deletions
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; |
