Merge "Initialize Colors when regionSampling is disabled" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8dd9276f8a
@@ -96,6 +96,8 @@ open class ClockEventController @Inject constructor(
|
|||||||
if (regionSamplingEnabled) {
|
if (regionSamplingEnabled) {
|
||||||
clock?.smallClock?.view?.addOnLayoutChangeListener(mLayoutChangedListener)
|
clock?.smallClock?.view?.addOnLayoutChangeListener(mLayoutChangedListener)
|
||||||
clock?.largeClock?.view?.addOnLayoutChangeListener(mLayoutChangedListener)
|
clock?.largeClock?.view?.addOnLayoutChangeListener(mLayoutChangedListener)
|
||||||
|
} else {
|
||||||
|
updateColors()
|
||||||
}
|
}
|
||||||
updateFontSizes()
|
updateFontSizes()
|
||||||
updateTimeListeners()
|
updateTimeListeners()
|
||||||
|
|||||||
Reference in New Issue
Block a user