mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
rewrite root folders handling, do not use "awk" command
This commit is contained in:
@ -284,7 +284,7 @@ class MainActivity : SimpleActivity() {
|
||||
Thread {
|
||||
config.isRootAvailable = RootTools.isRootAvailable()
|
||||
if (config.isRootAvailable && config.enableRootAccess) {
|
||||
RootHelpers().askRootIFNeeded(this) {
|
||||
RootHelpers().askRootIfNeeded(this) {
|
||||
config.enableRootAccess = it
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user