Fixed the transformation of min priority notifications
The headertext wasn't animating to the title anymore because the order of the low-priority call has changed in a refactor We're now looking at the datasource directly instead of looking at the row state avoiding the ordering issue Fixes: 151253867 Test: add min priority notification, observe header transforms to title Change-Id: I7dc8f5fdef4f1f449064e66bcc63a85f7e69a185
This commit is contained in:
@@ -161,7 +161,7 @@ public class NotificationHeaderViewWrapper extends NotificationViewWrapper {
|
||||
@Override
|
||||
public void onContentUpdated(ExpandableNotificationRow row) {
|
||||
super.onContentUpdated(row);
|
||||
mIsLowPriority = row.isLowPriority();
|
||||
mIsLowPriority = row.getEntry().isAmbient();
|
||||
mTransformLowPriorityTitle = !row.isChildInGroup() && !row.isSummaryWithChildren();
|
||||
ArraySet<View> previousViews = mTransformationHelper.getAllTransformingViews();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user