StrictMode visual notification support.
Change-Id: I64a5adb683060d9649f1132414547bb3c346a2a8
diff --git a/core/java/android/view/IWindowManager.aidl b/core/java/android/view/IWindowManager.aidl
index dd0f477..d964e2f 100644
--- a/core/java/android/view/IWindowManager.aidl
+++ b/core/java/android/view/IWindowManager.aidl
@@ -122,7 +122,7 @@
int getTrackballKeycodeState(int sw);
int getDPadKeycodeState(int sw);
InputChannel monitorInput(String inputChannelName);
-
+
// Report whether the hardware supports the given keys; returns true if successful
boolean hasKeys(in int[] keycodes, inout boolean[] keyExists);
@@ -132,7 +132,14 @@
// For testing
void setInTouchMode(boolean showFocus);
-
+
+ // For StrictMode flashing a red border on violations from the UI
+ // thread. The uid/pid is implicit from the Binder call, and the Window
+ // Manager uses that to determine whether or not the red border should
+ // actually be shown. (it will be ignored that pid doesn't have windows
+ // on screen)
+ void showStrictModeViolation(boolean on);
+
// These can only be called with the SET_ORIENTATION permission.
/**
* Change the current screen rotation, constants as per