diff options
| author | 2020-03-31 18:42:29 +0000 | |
|---|---|---|
| committer | 2020-03-31 18:42:29 +0000 | |
| commit | 7ca55ee7f60bfccd61a40203d74b762c408d3ad9 (patch) | |
| tree | 00d6f6d8b19cddb29630f8437efa0661b0a2a6e6 | |
| parent | 8f08b1cd401f7059f8047f1b4332d070a0180efd (diff) | |
| parent | 693601db798ee43d537a45d480e1442799fe0b82 (diff) | |
Merge "Fixed error that was repeatedly polluting the log" into rvc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java index d7f2ae43cf9e..651623b45f6a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java @@ -409,12 +409,9 @@ public class NotificationShelf extends ActivatableNotificationView implements private void clipTransientViews() { for (int i = 0; i < mHostLayout.getTransientViewCount(); i++) { View transientView = mHostLayout.getTransientView(i); - if (transientView instanceof ExpandableNotificationRow) { - ExpandableNotificationRow transientRow = (ExpandableNotificationRow) transientView; - updateNotificationClipHeight(transientRow, getTranslationY(), -1); - } else { - Log.e(TAG, "NotificationShelf.clipTransientViews(): " - + "Trying to clip non-row transient view"); + if (transientView instanceof ExpandableView) { + ExpandableView transientExpandableView = (ExpandableView) transientView; + updateNotificationClipHeight(transientExpandableView, getTranslationY(), -1); } } } |