Skip to content

Commit 12ac444

Browse files
committed
Add comment about how archiecture support for the vuln test(s) work
1 parent 6e1ff08 commit 12ac444

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/src/main/java/fuzion24/device/vulnerability/vulnerabilities/VulnerabilityOrganizer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ public static List<VulnerabilityTest> getTests(Context ctx){
5555
String cpuArch1 = SystemUtils.propertyGet(ctx, "ro.product.cpu.abi");
5656
String cpuArch2 = SystemUtils.propertyGet(ctx, "ro.product.cpu.abi2");
5757

58+
59+
/*
60+
The logic here is:
61+
The test must support every architecture that the device lists
62+
*/
5863
for(VulnerabilityTest vt : allTests){
5964

6065
if(vt.getSupportedArchitectures() == null) {

0 commit comments

Comments
 (0)