Skip to content

Commit 288724d

Browse files
committed
also show ABI on first screen
1 parent 543a131 commit 288724d

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/SetPasswordActivity.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,27 @@ public void onClick(View view)
129129
{
130130
}
131131

132+
String abis = "??";
132133
try
133134
{
134-
githash_text.setText("build: " + BuildConfig.GitHash + "\n" + "API: " + Build.VERSION.SDK_INT + " ");
135+
abis = Build.SUPPORTED_ABIS[0];
136+
}
137+
catch(Exception e)
138+
{
139+
try
140+
{
141+
abis = Build.CPU_ABI;
142+
}
143+
catch(Exception e2)
144+
{
145+
}
146+
}
147+
148+
try
149+
{
150+
githash_text.setText("build: " + BuildConfig.GitHash +
151+
"\n" + "API: " + Build.VERSION.SDK_INT + " " +
152+
"\n" + "ABI: " + abis + " ");
135153
}
136154
catch(Exception ignored)
137155
{

0 commit comments

Comments
 (0)