Package com.inmobi.commons.utils
Object StrictModePolicy
-
- All Implemented Interfaces:
public class StrictModePolicyThis is a utility class to enable strict mode thread and VM policy violation checks for debug build only.
lakshya.gupta
-
-
Field Summary
Fields Modifier and Type Field Description public final static StrictModePolicyINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitenableStrictMode(Boolean enable)final UnitenablePolicyCheck()Method to enable the strict mode thread and VM policy violations check. -
-
Method Detail
-
enableStrictMode
final Unit enableStrictMode(Boolean enable)
-
enablePolicyCheck
final Unit enablePolicyCheck()
Method to enable the strict mode thread and VM policy violations check. if any violations are found in debug build the violation stack trace will be printed in the logcat.
-
-
-
-