Merge "Fix PrivacyChip not visible issue" into sc-dev am: b40db93ccc am: 31f92bcdcf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23386456

Change-Id: I36f2406c26702bf1dc9f9c8caa2c2725bfe305c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Johannes Gallmann
2023-05-30 11:15:14 +00:00
committed by Automerger Merge Worker

View File

@@ -86,9 +86,7 @@ class PrivacyEvent(override val showAnimation: Boolean = true) : StatusEvent {
}
override fun shouldUpdateFromEvent(other: StatusEvent?): Boolean {
return other is PrivacyEvent &&
(other.privacyItems != privacyItems ||
other.contentDescription != contentDescription)
return other is PrivacyEvent
}
override fun updateFromEvent(other: StatusEvent?) {