File tree Expand file tree Collapse file tree
base/src/main/java/io/github/sds100/keymapper/base
system/src/main/java/io/github/sds100/keymapper/system/root Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ import kotlinx.coroutines.Dispatchers
4848import kotlinx.coroutines.flow.launchIn
4949import kotlinx.coroutines.flow.onEach
5050import kotlinx.coroutines.launch
51- import timber.log.Timber
5251
5352abstract 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments