Merge "DO NOT MERGE Make classes open for inherit" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7ef14c02c0
@@ -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