Fix possible race condition caused crash
This commit is contained in:
@@ -55,7 +55,7 @@ class LocalOnlyHotspotTileService : KillableTileService() {
|
|||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
state = Tile.STATE_ACTIVE
|
state = Tile.STATE_ACTIVE
|
||||||
label = service.configuration!!.SSID
|
label = service.configuration?.SSID ?: getText(R.string.tethering_temp_hotspot)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
updateTile()
|
updateTile()
|
||||||
|
|||||||
Reference in New Issue
Block a user