Fixed a flickering when expanding and the notifications updates
Change-Id: Idda8f5cfc61c3c561963eb3ccfffece9fbf5cde3 Fixes: 28557444
This commit is contained in:
@@ -392,6 +392,9 @@ public class NotificationContentView extends FrameLayout {
|
||||
mVisibleType = visibleType;
|
||||
updateBackgroundColor(true /* animate */);
|
||||
}
|
||||
if (mForceSelectNextLayout) {
|
||||
forceUpdateVisibilities();
|
||||
}
|
||||
if (mTransformationStartVisibleType != UNDEFINED
|
||||
&& mVisibleType != mTransformationStartVisibleType
|
||||
&& getViewForVisibleType(mTransformationStartVisibleType) != null) {
|
||||
@@ -508,9 +511,6 @@ public class NotificationContentView extends FrameLayout {
|
||||
updateBackgroundColor(animate);
|
||||
}
|
||||
}
|
||||
if (mForceSelectNextLayout) {
|
||||
forceUpdateVisibilities();
|
||||
}
|
||||
}
|
||||
|
||||
private void forceUpdateVisibilities() {
|
||||
|
||||
Reference in New Issue
Block a user