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

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

Change-Id: Ie74c1c98923b23462717984fab5751c7ac1c5597
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Johannes Gallmann
2023-05-30 10:27:37 +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?) {