DO NOT MERGE Make classes open for inherit am: 1953c57edf

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

Change-Id: I7fd8e2b92b5f9d8a5b5828d3de08fc2bc473ed67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Cassie(Yitong) Wang
2023-02-06 06:27:35 +00:00
committed by Automerger Merge Worker

View File

@@ -62,7 +62,7 @@ import javax.inject.Inject
*/ */
@SysUISingleton @SysUISingleton
class PrivacyDotViewController @Inject constructor( open class PrivacyDotViewController @Inject constructor(
@Main private val mainExecutor: Executor, @Main private val mainExecutor: Executor,
private val stateController: StatusBarStateController, private val stateController: StatusBarStateController,
private val configurationController: ConfigurationController, private val configurationController: ConfigurationController,
@@ -176,7 +176,7 @@ class PrivacyDotViewController @Inject constructor(
} }
@UiThread @UiThread
private fun hideDotView(dot: View, animate: Boolean) { open fun hideDotView(dot: View, animate: Boolean) {
dot.clearAnimation() dot.clearAnimation()
if (animate) { if (animate) {
dot.animate() dot.animate()
@@ -195,7 +195,7 @@ class PrivacyDotViewController @Inject constructor(
} }
@UiThread @UiThread
private fun showDotView(dot: View, animate: Boolean) { open fun showDotView(dot: View, animate: Boolean) {
dot.clearAnimation() dot.clearAnimation()
if (animate) { if (animate) {
dot.visibility = View.VISIBLE dot.visibility = View.VISIBLE