Merge "DO NOT MERGE Make classes open for inherit" into tm-qpr-dev

This commit is contained in:
Cassie(Yitong) Wang
2023-02-06 05:50:11 +00:00
committed by Android (Google) Code Review

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