Skip to content

Commit 1e305d8

Browse files
committed
#1917 remove spam log lines
1 parent 7e5a9ae commit 1e305d8

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

base/src/main/java/io/github/sds100/keymapper/base/BaseMainActivity.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ import kotlinx.coroutines.Dispatchers
4848
import kotlinx.coroutines.flow.launchIn
4949
import kotlinx.coroutines.flow.onEach
5050
import kotlinx.coroutines.launch
51-
import timber.log.Timber
5251

5352
abstract class BaseMainActivity : AppCompatActivity() {
5453

@@ -192,10 +191,6 @@ abstract class BaseMainActivity : AppCompatActivity() {
192191
override fun onResume() {
193192
super.onResume()
194193

195-
Timber.i(
196-
"MainActivity: onResume. Version: ${buildConfigProvider.version} ${buildConfigProvider.versionCode}",
197-
)
198-
199194
// This must be after onResume to ensure all the fragment lifecycles' have also
200195
// resumed which are observing these events.
201196
// This is checked here and not in KeyMapperApp's lifecycle observer because

system/src/main/java/io/github/sds100/keymapper/system/root/SuAdapter.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ class SuAdapterImpl @Inject constructor(private val coroutineScope: CoroutineSco
4747
// Close the shell so a new one is started without root permission.
4848
val isRooted = getIsRooted()
4949
isRootGranted.update { isRooted }
50-
51-
if (isRooted) {
52-
Timber.i("Root access granted")
53-
} else {
54-
Timber.i("Root access denied")
55-
}
5650
} catch (e: Exception) {
5751
Timber.e("Exception invalidating root detection: $e")
5852
}

0 commit comments

Comments
 (0)