Delay onNotificationUpdated
onNotificationUpdated should only be called after inflation ends, otherwise views will be updated to an invalid state. Bug: 131914931 Test: toggle dark mode rapidly Change-Id: Id97ffe4823e1b46f5b521d8fb9e0f040702e475f
This commit is contained in:
@@ -1242,7 +1242,6 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
|
||||
}
|
||||
mStatusBarNotification.clearPackageContext();
|
||||
mNotificationInflater.clearCachesAndReInflate();
|
||||
onNotificationUpdated();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user