@LevelUpApi(contract=INTERNAL) @ThreadSafe public final class StrictModeUtil extends Object
StrictMode
without worrying about backwards
compatibility. Calls to this class from unsupported SDKs have no effect.Modifier and Type | Method and Description |
---|---|
static void |
noteSlowCall(String name)
Notes a slow method call with
StrictMode . |
public static void noteSlowCall(String name)
StrictMode
. This method has no effect prior to
Build.VERSION_CODES.HONEYCOMB
.name
- tag for the slow call.