Skip to content

Commit 3280106

Browse files
rsuntkbackslashxx
authored andcommitted
manager: Add ABI and Kernel archirecture info into InfoCardItem
manager: simplify kernel arch Previously: Kernel 4.19.331-Rissu Kernel Arch armv8l This changes: Kernel 4.19.331-Rissu (armv8l) Suggested-by: backslashxx <[email protected]> Signed-off-by: rsuntk <[email protected]>
1 parent 6c6d366 commit 3280106

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ private fun InfoCard() {
679679
) {
680680
InfoText(
681681
title = stringResource(R.string.home_kernel),
682-
content = uname.release
682+
content = "${uname.release} (${uname.machine})"
683683
)
684684
InfoText(
685685
title = stringResource(R.string.home_manager_version),
@@ -689,6 +689,10 @@ private fun InfoCard() {
689689
title = stringResource(R.string.home_fingerprint),
690690
content = Build.FINGERPRINT
691691
)
692+
InfoText(
693+
title = stringResource(R.string.home_abi),
694+
content = Build.SUPPORTED_ABIS.joinToString(", ")
695+
)
692696
InfoText(
693697
title = stringResource(R.string.home_selinux_status),
694698
content = getSELinuxStatus(),

manager/app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<string name="home_failure">!kenrelsu || != size/hash</string>
1414
<string name="home_failure_reason">Failure! ask your kernel dev about it.</string>
1515
<string name="home_kernel">Kernel</string>
16+
<string name="home_abi">ABI</string>
1617
<string name="home_manager_version">Manager version</string>
1718
<string name="home_fingerprint">Fingerprint</string>
1819
<string name="home_selinux_status">SELinux status</string>

0 commit comments

Comments
 (0)