Skip to content

Commit 54a3e4b

Browse files
committed
Add abi info to the shared json structure
1 parent f4ade19 commit 54a3e4b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/src/main/java/fuzion24/device/vulnerability/test/ui/MainActivity.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,15 @@ private JSONObject serializeResults(List<VulnerabilityTestResult> results, Devic
170170
buildInfo.put("release", devInfo.getBuildRelease());
171171
buildInfo.put("sdk", devInfo.getBuildSDK());
172172
buildInfo.put("id", devInfo.getBuildID());
173+
buildInfo.put("cpuABI", devInfo.getBuildCpuABI());
174+
buildInfo.put("cpuABI2", devInfo.getBuildCpuABI2());
175+
176+
JSONArray supportedABIs = new JSONArray();
177+
for(String abi : devInfo.getSupportedABIS()){
178+
supportedABIs.put(abi);
179+
}
180+
181+
buildInfo.put("supportedABIs", supportedABIs);
173182
buildInfo.put("versionCode", BuildConfig.VERSION_CODE);
174183
buildInfo.put("versionName", BuildConfig.VERSION_NAME);
175184

0 commit comments

Comments
 (0)