Skip to content
Snippets Groups Projects
Commit a13d74d9 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Debug activity: prevent illegal access

(cherry picked from commit 65542175446f124d86cb0e540323707541dd79c6)
parent f50dbb3e
No related branches found
No related tags found
No related merge requests found
......@@ -58,9 +58,9 @@ class DebugLogActivity : FragmentActivity(), DebugLogService.Client.Callback {
}
private val clearClickListener = View.OnClickListener {
client.clear()
if (::client.isInitialized) client.clear()
logList.clear()
logAdapter.notifyDataSetChanged()
if (::logAdapter.isInitialized) logAdapter.notifyDataSetChanged()
setOptionsButtonsEnabled(false)
}
......
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