Merge "Prevent null argument from crashing ClockEventController" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7b08f90568
@@ -259,7 +259,7 @@ constructor(
|
|||||||
largeTimeListener?.update(shouldTimeListenerRun)
|
largeTimeListener?.update(shouldTimeListenerRun)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onTimeFormatChanged(timeFormat: String) {
|
override fun onTimeFormatChanged(timeFormat: String?) {
|
||||||
clock?.events?.onTimeFormatChanged(DateFormat.is24HourFormat(context))
|
clock?.events?.onTimeFormatChanged(DateFormat.is24HourFormat(context))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user