summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Cassie(Yitong) Wang <cassieyw@google.com> 2023-01-31 06:50:00 +0000
committer Cassie(Yitong) Wang <cassieyw@google.com> 2023-02-03 00:26:49 +0000
commit1953c57edf77364aad2ffb883fac4b937c31b275 (patch)
tree6bc4c9c66865c58e02c6a03ef3bb0c062feedb76
parentd1f5758e799419e9c8626c105f9111bd57fbefc8 (diff)
DO NOT MERGE Make classes open for inherit
Bug: 260534051 Test: manual Change-Id: I57b05f12430e5e57816539f9a14c46243187c150
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/events/PrivacyDotViewController.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/events/PrivacyDotViewController.kt b/packages/SystemUI/src/com/android/systemui/statusbar/events/PrivacyDotViewController.kt
index 737b4812d4fb..f25928418cbd 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/events/PrivacyDotViewController.kt
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/events/PrivacyDotViewController.kt
@@ -62,7 +62,7 @@ import javax.inject.Inject
*/
@SysUISingleton
-class PrivacyDotViewController @Inject constructor(
+open class PrivacyDotViewController @Inject constructor(
@Main private val mainExecutor: Executor,
private val stateController: StatusBarStateController,
private val configurationController: ConfigurationController,
@@ -176,7 +176,7 @@ class PrivacyDotViewController @Inject constructor(
}
@UiThread
- private fun hideDotView(dot: View, animate: Boolean) {
+ open fun hideDotView(dot: View, animate: Boolean) {
dot.clearAnimation()
if (animate) {
dot.animate()
@@ -195,7 +195,7 @@ class PrivacyDotViewController @Inject constructor(
}
@UiThread
- private fun showDotView(dot: View, animate: Boolean) {
+ open fun showDotView(dot: View, animate: Boolean) {
dot.clearAnimation()
if (animate) {
dot.visibility = View.VISIBLE