File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
app/src/main/java/com/afwsamples/testdpc/policy Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,10 @@ public class SecurityLogsFragment extends ListFragment {
66
66
private static final int TAG_CERT_AUTHORITY_INSTALLED = 210029 ;
67
67
private static final int TAG_CERT_AUTHORITY_REMOVED = 210030 ;
68
68
private static final int TAG_CRYPTO_SELF_TEST_COMPLETED = 210031 ;
69
+ private static final int TAG_KEY_INTEGRITY_VIOLATION = 210032 ;
70
+ private static final int TAG_CERT_VALIDATION_FAILURE = 210033 ;
69
71
70
- private ArrayList <String > mLogs = new ArrayList <String >();
72
+ private final ArrayList <String > mLogs = new ArrayList <>();
71
73
private ArrayAdapter <String > mAdapter ;
72
74
73
75
private DevicePolicyManager mDevicePolicyManager ;
@@ -221,6 +223,12 @@ private String getStringEventTagFromId(int eventId) {
221
223
case TAG_CRYPTO_SELF_TEST_COMPLETED :
222
224
eventTag = "CRYPTO_SELF_TEST_COMPLETED" ;
223
225
break ;
226
+ case TAG_KEY_INTEGRITY_VIOLATION :
227
+ eventTag = "KEY_INTEGRITY_VIOLATION" ;
228
+ break ;
229
+ case TAG_CERT_VALIDATION_FAILURE :
230
+ eventTag = "CERT_VALIDATION_FAILURE" ;
231
+ break ;
224
232
default :
225
233
eventTag = "UNKNOWN(" + eventId + ")" ;
226
234
}
You can’t perform that action at this time.
0 commit comments