Option to enable StrictMode flashing on userdebug builds.
Change-Id: Ifc8e733ea0e0f6bda234a18ad84bcd230879e802
This commit is contained in:
@ -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()")) {
|
||||
|
Reference in New Issue
Block a user