Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9308e287 authored by Liz Prucka's avatar Liz Prucka Committed by Android (Google) Code Review
Browse files

Merge "[Intrusion Logging] Bugfix: Add null check in test app" into main

parents 5459a593 bee229f7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,9 @@ public class LocalIntrusionDetectionEventTransport extends IntrusionDetectionEve
        for (IntrusionDetectionEvent event : events) {
            if (event.getType() == IntrusionDetectionEvent.SECURITY_EVENT) {
                SecurityEvent securityEvent = event.getSecurityEvent();
                if (securityEvent.getData() == null) {
                    continue;
                }
                Object[] eventData = (Object[]) securityEvent.getData();
                if (securityEvent.getTag() == SecurityLog.TAG_KEY_GENERATED
                        && eventData[1].equals(TEST_SECURITY_EVENT_TAG)) {