commit | c1a968a8ed45181312f7d4bcdbba0cc8ddc201ba | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Wed Nov 24 08:56:40 2010 -0800 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Wed Nov 24 13:41:48 2010 -0800 |
tree | 96832a4d49f1c52f276f75b5a572c7ce1eb589f2 | |
parent | 1e87fe85a6ea3d17c9f299d2d2b60980362d5cf9 [diff] [blame] |
Option to enable StrictMode flashing on userdebug builds. Change-Id: Ifc8e733ea0e0f6bda234a18ad84bcd230879e802
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index 5c32c38..89512ae 100644 --- a/services/java/com/android/server/WindowManagerService.java +++ b/services/java/com/android/server/WindowManagerService.java
@@ -4918,6 +4918,10 @@ } } + public void setStrictModeVisualIndicatorPreference(String value) { + SystemProperties.set(StrictMode.VISUAL_PROPERTY, value); + } + public void freezeRotation() { if (!checkCallingPermission(android.Manifest.permission.SET_ORIENTATION, "setRotation()")) {