I'm anxiously awaiting the open source release of StrictMode for continuation of our platform development. The sample in the Android blog entry suggests surrounding the StrictMode calls with
if (DEVELOPER_MODE) {
...
}
For SDK development, I'd expect this constant to be locally defined by each application. However, for platform development, is android.util.Config.DEBUG
the best way to determine whether to turn this on?