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