commit | e85788710a6bff2004ec4d8eb2ddf747a040ee82 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Tue May 03 16:42:50 2016 -0700 |
committer | Selim Cinek <cinek@google.com> | Wed May 04 19:24:47 2016 -0400 |
tree | e9388dce0703fbdf9b5f49cad88b60451ae622bd | |
parent | def35a86530200958384191d43d321dbcda16e2a [diff] |
Fixed a flickering when expanding and the notifications updates Change-Id: Idda8f5cfc61c3c561963eb3ccfffece9fbf5cde3 Fixes: 28557444
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java index 1568898..334d3fa 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
@@ -392,6 +392,9 @@ mVisibleType = visibleType; updateBackgroundColor(true /* animate */); } + if (mForceSelectNextLayout) { + forceUpdateVisibilities(); + } if (mTransformationStartVisibleType != UNDEFINED && mVisibleType != mTransformationStartVisibleType && getViewForVisibleType(mTransformationStartVisibleType) != null) { @@ -508,9 +511,6 @@ updateBackgroundColor(animate); } } - if (mForceSelectNextLayout) { - forceUpdateVisibilities(); - } } private void forceUpdateVisibilities() {