code cleanup

Signed-off-by: androidacy-user <opensource@androidacy.com>
pull/89/head
androidacy-user 2 years ago
parent 2b62e4dfb3
commit 60d284d885

@ -256,13 +256,11 @@ class MainApplication : Application(), Configuration.Provider, ActivityLifecycle
if (forceDebugLogging) Timber.d("UID: %s", output) if (forceDebugLogging) Timber.d("UID: %s", output)
if (output == "0") { if (output == "0") {
if (forceDebugLogging) Timber.d("Root access granted") if (forceDebugLogging) Timber.d("Root access granted")
setHasGottenRootAccess(true)
} else { } else {
if (forceDebugLogging) Timber.d( if (forceDebugLogging) Timber.d(
"Root access or we're not uid 0. Current uid: %s", "Root access or we're not uid 0. Current uid: %s",
output output
) )
setHasGottenRootAccess(false)
} }
} }
if (!callbacksRegistered) { if (!callbacksRegistered) {

Loading…
Cancel
Save