File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 2525import android .graphics .Bitmap ;
2626import android .graphics .BitmapFactory ;
2727import android .net .Uri ;
28+ import android .os .Build ;
2829import android .os .Bundle ;
2930import android .os .Environment ;
3031import android .os .Handler ;
@@ -63,10 +64,28 @@ protected void onCreate(Bundle savedInstanceState)
6364 setImage (R .drawable .web_hi_res_512 ).
6465 addWebsite ("https://github.com/zoff99/ToxAndroidRefImpl/blob/zoff99/dev003/README.md" );
6566
67+ String abis = "??" ;
68+ try
69+ {
70+ abis = Build .SUPPORTED_ABIS [0 ];
71+ }
72+ catch (Exception e )
73+ {
74+ try
75+ {
76+ abis = Build .CPU_ABI ;
77+ }
78+ catch (Exception e2 )
79+ {
80+ }
81+ }
82+
6683 aboutPage .setDescription (getString (R .string .Aboutpage_5a ) + "\n " + getString (R .string .Aboutpage_5b ) + " " +
67- MainActivity .versionName + "\n \n " + "TRIfA commit hash:" + BuildConfig .GitHash +
68- "\n " + "JNI commit hash:" + MainActivity .getNativeLibGITHASH () + "\n " +
69- "c-toxcore commit hash:" + MainActivity .getNativeLibTOXGITHASH ());
84+ MainActivity .versionName + "\n \n " + "TRIfA commit hash: " + BuildConfig .GitHash +
85+ "\n " + "JNI commit hash: " + MainActivity .getNativeLibGITHASH () + "\n " +
86+ "c-toxcore commit hash: " + MainActivity .getNativeLibTOXGITHASH () + "\n " +
87+ "Android API Level: " + Build .VERSION .SDK_INT + "\n " +
88+ "CPU ABI: " + abis );
7089
7190 Element tox_link = new Element ();
7291 tox_link .setTitle (getString (R .string .Aboutpage_6 ));
You can’t perform that action at this time.
0 commit comments