android.os.strictmode


Exceptions

CleartextNetworkViolation

ContentUriWithoutPermissionViolation

CredentialProtectedWhileLockedViolation

Subclass of Violation that is used when a process accesses filesystem paths stored in credential protected storage areas while the user is locked.

CustomViolation

DiskReadViolation

DiskWriteViolation

ExplicitGcViolation

See #android.os.StrictMode.ThreadPolicy.Builder#detectExplicitGc().

FileUriExposedViolation

ImplicitDirectBootViolation

Subclass of Violation that is used when a process implicitly relies on automatic Direct Boot filtering.

IncorrectContextUseViolation

Incorrect usage of Context, such as obtaining a UI service from non-UI Context instance.

InstanceCountViolation

IntentReceiverLeakedViolation

LeakedClosableViolation

NetworkViolation

NonSdkApiUsedViolation

Subclass of Violation that is used when a process accesses a non SDK API.

ResourceMismatchViolation

ServiceConnectionLeakedViolation

SqliteObjectLeakedViolation

UnbufferedIoViolation

See #Builder#detectUnbufferedIo()

UnsafeIntentLaunchViolation

Violation raised when your app launches an Intent which originated from outside your app.

UntaggedSocketViolation

Violation

Root class for all StrictMode violations.

WebViewMethodCalledOnWrongThreadViolation