From 58f1b05a0cacfb148765313532b8f1c546e8e454 Mon Sep 17 00:00:00 2001 From: Sarthak Roy Date: Fri, 17 Nov 2023 11:33:00 +0530 Subject: [PATCH] Add Kernel version Signed-off-by: Sarthak Roy --- app/src/main/java/com/neolit/simpledeviceinfo/MainActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/neolit/simpledeviceinfo/MainActivity.java b/app/src/main/java/com/neolit/simpledeviceinfo/MainActivity.java index ebdf6f6..40048fe 100644 --- a/app/src/main/java/com/neolit/simpledeviceinfo/MainActivity.java +++ b/app/src/main/java/com/neolit/simpledeviceinfo/MainActivity.java @@ -115,6 +115,7 @@ protected void onCreate(Bundle savedInstanceState) { arrayList.add(new SysView("Build Host", Build.HOST)); arrayList.add(new SysView("Build Time", String.valueOf(Build.TIME))); arrayList.add(new SysView("Supported ABIs", Arrays.toString(Build.SUPPORTED_ABIS))); + arrayList.add(new SysView("Kernel Version", System.getProperty("os.version"))); arrayList.add(new SysView("RAM", totalMemory + "MB")); arrayList.add(new SysView("Battery Status", (int)batteryPct + "%"));