updated device info in dev settings
This commit is contained in:
parent
387abf6dce
commit
3cec96c5ec
|
@ -41,7 +41,11 @@ class DevSettingsFragment: PreferenceFragmentCompat() {
|
|||
val archPref: Preference? = findPreference("device_arch")
|
||||
val supportedAbis: Array<String> = Build.SUPPORTED_ABIS
|
||||
|
||||
archPref?.summary = supportedAbis.toString()
|
||||
if (supportedAbis.contains("arm64-v8a")) {
|
||||
archPref?.summary = "64bit"
|
||||
} else {
|
||||
archPref?.summary = "32bit"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<Preference
|
||||
android:key="device_arch"
|
||||
android:title="Supported ABIs"
|
||||
android:title="Kernel Architecture"
|
||||
android:summary="Arch" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
|
Loading…
Reference in New Issue