Merge "Prevent NPE in QSLogger"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4c4f449ff2
@@ -105,8 +105,8 @@ class QSLogger @Inject constructor(
|
||||
fun logTileUpdated(tileSpec: String, state: QSTile.State) {
|
||||
log(VERBOSE, {
|
||||
str1 = tileSpec
|
||||
str2 = state.label.toString()
|
||||
str3 = state.icon.toString()
|
||||
str2 = state.label?.toString()
|
||||
str3 = state.icon?.toString()
|
||||
int1 = state.state
|
||||
if (state is QSTile.SignalState) {
|
||||
bool1 = true
|
||||
|
||||
Reference in New Issue
Block a user