Skip to content
Snippets Groups Projects
Commit b5eabdec authored by Hawkwood Glazier's avatar Hawkwood Glazier Committed by Android (Google) Code Review
Browse files

Merge "Ensure onZenDataChanged is triggered from main thread" into main

parents 28506376 184c58c3
No related branches found
No related tags found
No related merge requests found
......@@ -377,7 +377,9 @@ constructor(
if (mode == ZenMode.OFF) SysuiR.string::dnd_is_off.name
else SysuiR.string::dnd_is_on.name
).also { data ->
clock?.run { events.onZenDataChanged(data) }
mainExecutor.execute {
clock?.run { events.onZenDataChanged(data) }
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment