You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
susfs: fixed susfs unsupported output
manager: if susfs not supported then hide it
This commit is contained in:
@@ -269,11 +269,13 @@ private fun StatusCard(
|
|||||||
style = MaterialTheme.typography.bodyMedium
|
style = MaterialTheme.typography.bodyMedium
|
||||||
)
|
)
|
||||||
Spacer(Modifier.height(4.dp))
|
Spacer(Modifier.height(4.dp))
|
||||||
|
val suSFS = getSuSFS()
|
||||||
|
if (suSFS == "Supported") {
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(R.string.home_susfs, getSuSFS()),
|
text = stringResource(R.string.home_susfs, getSuSFS()),
|
||||||
style = MaterialTheme.typography.bodyMedium
|
style = MaterialTheme.typography.bodyMedium
|
||||||
)
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -165,6 +165,8 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
printf("%s", enabled_features_buf);
|
printf("%s", enabled_features_buf);
|
||||||
free(enabled_features_buf);
|
free(enabled_features_buf);
|
||||||
|
} else {
|
||||||
|
printf("Invalid\n");
|
||||||
}
|
}
|
||||||
} else if (strcmp(argv[1], "support") == 0) {
|
} else if (strcmp(argv[1], "support") == 0) {
|
||||||
unsigned long enabled_features;
|
unsigned long enabled_features;
|
||||||
@@ -183,6 +185,8 @@ int main(int argc, char *argv[]) {
|
|||||||
} else {
|
} else {
|
||||||
printf("Unsupported\n");
|
printf("Unsupported\n");
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
printf("Unsupported\n");
|
||||||
}
|
}
|
||||||
} else if (argc == 3 && !strcmp(argv[1], "sus_su")) {
|
} else if (argc == 3 && !strcmp(argv[1], "sus_su")) {
|
||||||
int last_working_mode = 0;
|
int last_working_mode = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user