DO NOT MERGE Make classes open for inherit
Bug: 260534051 Test: manual Change-Id: I57b05f12430e5e57816539f9a14c46243187c150
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user