Project

General

Profile

Revision 30748eb8

ID30748eb8b5da8c23124bbdc56bc307f1631dc2b3
Parent 0e9bce75
Child 19113751

Added by Jonas about 1 month ago

  • Adding new version of Patch Analysis submodule: * signature checks bugfixes * basic test performance improvement * hide optional CVE tests * more detailed status messages when testing

View differences:

SnoopSnitch/app/src/main/java/de/srlabs/snoopsnitch/PAAppFlavorSNSN.java
41 41
    }
42 42

  
43 43
    @Override
44
    public void setShowOptionalCVEs(Context context, boolean showOptionalCVEs) {
45
        //TODO: do nothing for now
46
    }
47

  
48
    @Override
49
    public boolean getShowOptionalCVES(Context context) {
50
        //TODO: read from config
51
        return false;
52
    }
53

  
54
    @Override
44 55
    public String getPatchAnalysisNotificationSetting(Context context) {
45 56
        return MsdConfig.getPatchAnalysisNotificationSetting(context);
46 57
    }
SnoopSnitch/app/src/main/java/de/srlabs/snoopsnitch/util/MsdConfig.java
240 240
        edit.putBoolean("settings_patch_analysis_show_inconclusive", showInconclusive);
241 241
        edit.commit();
242 242
    }
243

  
244
    public static boolean getShowOptionalCVEs(Context context) {
245
        return sharedPrefs(context).getBoolean("settings_patch_analysis_show_optional_cves", false);
246
    }
247

  
248
    public static void setShowOptionalCVEs(Context context, boolean showOptionalCVEs) {
249
        SharedPreferences.Editor edit = sharedPrefs(context).edit();
250
        edit.putBoolean("settings_patch_analysis_show_optional_cves", showOptionalCVEs);
251
        edit.commit();
252
    }
253

  
254

  
243 255
}
SnoopSnitch/patchanalysis
1
Subproject commit 73f9467a1eadac8534684a9f2fa54c1eb038398a
1
Subproject commit d7b9a9afddc8ee47f473182ffc853231161b3137

Also available in: Unified diff