mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 17:08:36 +00:00
a/android: Bump ktfmt to 0.53 and reformat it
Signed-off-by: utzcoz <utzcoz@outlook.com> Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2382>
This commit is contained in:
parent
b95ebbe69b
commit
4558bfe418
|
@ -66,6 +66,6 @@ spotless {
|
|||
kotlin {
|
||||
target 'src/main/java/**/*.kt'
|
||||
// Use ktfmt(https://github.com/facebook/ktfmt) as the default Kotlin formatter.
|
||||
ktfmt('0.43').kotlinlangStyle()
|
||||
ktfmt("$ktfmtVersion").kotlinlangStyle()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,9 @@ class SystemUiController(view: View) {
|
|||
|
||||
private abstract class Impl(var view: View) {
|
||||
private val uiHandler: Handler = Handler(Looper.getMainLooper())
|
||||
|
||||
abstract fun hide()
|
||||
|
||||
fun runOnUiThread(runnable: Runnable) {
|
||||
uiHandler.post(runnable)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue