Support BLUETOOTH_CONNECT permission on Android 12 beta

This commit is contained in:
Mygod
2021-05-19 14:55:34 -04:00
parent e679974796
commit 71f466913a
5 changed files with 48 additions and 9 deletions

View File

@@ -186,7 +186,11 @@ sealed class TetheringTileService : IpNeighbourMonitoringTileService(), Tetherin
state = Tile.STATE_INACTIVE
icon = tileOff
}
null -> return
null -> {
state = Tile.STATE_UNAVAILABLE
icon = tileOff
subtitle(tethering?.activeFailureCause?.readableMessage)
}
}
label = getText(labelString)
updateTile()