Add back root unavailable prompt

This commit is contained in:
Mygod
2018-10-08 15:23:57 +08:00
parent e4e716ab83
commit e347115908
13 changed files with 20 additions and 12 deletions

View File

@@ -98,7 +98,7 @@ class LocalOnlyHotspotService : IpNeighbourMonitoringService() {
// assuming IllegalStateException will be thrown only if
// "Caller already has an active LocalOnlyHotspot request"
} catch (_: IllegalStateException) { } catch (e: SecurityException) {
SmartSnackbar.make(e.localizedMessage).show()
SmartSnackbar.make(e).show()
Timber.w(e)
startFailure()
}