summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2017-09-15 11:24:14 +0000
committer android-build-merger <android-build-merger@google.com> 2017-09-15 11:24:14 +0000
commita2437d80b54ac513a4fa4245775bf80a4e8f09d6 (patch)
tree3ac230eb81321f7e114e0e5a06477031e56bb843
parentea35a29229e790953172778e2413e38d1ff19325 (diff)
parentcb68c2559c2adacbb43497ee9841312b7f591c6b (diff)
Merge "Added SafetyNet logging for UsbDebugging security bug." into oc-mr1-dev am: 8bba760b4f
am: cb68c2559c Change-Id: Id87da8f0e49ef8095a290ba2393c237c6a15cf48
-rw-r--r--packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java
index 3ebefbb50fb9..66d5ee1a276f 100644
--- a/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java
+++ b/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java
@@ -29,6 +29,7 @@ import android.os.Bundle;
import android.os.IBinder;
import android.os.ServiceManager;
import android.os.SystemProperties;
+import android.util.EventLog;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MotionEvent;
@@ -95,6 +96,7 @@ public class UsbDebuggingActivity extends AlertActivity
if (((event.getFlags() & MotionEvent.FLAG_WINDOW_IS_OBSCURED) != 0)
|| ((event.getFlags() & MotionEvent.FLAG_WINDOW_IS_PARTIALLY_OBSCURED) != 0)) {
if (event.getAction() == MotionEvent.ACTION_UP) {
+ EventLog.writeEvent(0x534e4554, "62187985"); // safety net logging
Toast.makeText(v.getContext(),
R.string.touch_filtered_warning,
Toast.LENGTH_SHORT).show();