Option to enable StrictMode flashing on userdebug builds.

Change-Id: Ifc8e733ea0e0f6bda234a18ad84bcd230879e802
This commit is contained in:
Brad Fitzpatrick
2010-11-24 08:56:40 -08:00
parent 1e87fe85a6
commit c1a968a8ed
4 changed files with 43 additions and 13 deletions

View File

@ -4918,6 +4918,10 @@ public class WindowManagerService extends IWindowManager.Stub
}
}
public void setStrictModeVisualIndicatorPreference(String value) {
SystemProperties.set(StrictMode.VISUAL_PROPERTY, value);
}
public void freezeRotation() {
if (!checkCallingPermission(android.Manifest.permission.SET_ORIENTATION,
"setRotation()")) {