Minor edits
This commit is contained in:
@@ -1564,7 +1564,7 @@ class BaresipService: Service() {
|
|||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
Settings.System.getInt(contentResolver, Settings.System.VIBRATE_WHEN_RINGING, 0) != 0
|
Settings.System.getInt(contentResolver, Settings.System.VIBRATE_WHEN_RINGING, 0) != 0
|
||||||
} catch (_: Exception) {
|
} catch (_: Exception) {
|
||||||
// If the setting can't be read, default to FALSE to be non-intrusive.
|
// If the setting can't be read, default to FALSE.
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user