Format file
This commit is contained in:
parent
ab4291f093
commit
fbef34f3b2
|
@ -244,7 +244,6 @@ class VectorCallActivity :
|
||||||
private fun startMicrophoneService() {
|
private fun startMicrophoneService() {
|
||||||
if (ContextCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO)
|
if (ContextCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO)
|
||||||
== PackageManager.PERMISSION_GRANTED) {
|
== PackageManager.PERMISSION_GRANTED) {
|
||||||
|
|
||||||
// Only start the service if the app is in the foreground
|
// Only start the service if the app is in the foreground
|
||||||
if (isAppInForeground()) {
|
if (isAppInForeground()) {
|
||||||
Timber.tag(loggerTag.value).v("Starting microphone foreground service")
|
Timber.tag(loggerTag.value).v("Starting microphone foreground service")
|
||||||
|
|
Loading…
Reference in New Issue