Package org.acra.util

Types

Link copied to clipboard
object Installation

Creates a file storing a UUID on the first application start. This UUID can then be used as a identifier of this specific application installation.

Link copied to clipboard
object InstanceCreator
Link copied to clipboard
object IOUtils
Link copied to clipboard
class PackageManagerWrapper(context: Context)

Responsible for wrapping calls to PackageManager to ensure that they always complete without throwing RuntimeExceptions. Depending upon the state of the application it is possible that

Link copied to clipboard
class ProcessFinisher(context: Context, config: CoreConfiguration, lastActivityManager: LastActivityManager)

Takes care of cleaning up a process and killing it.

Link copied to clipboard
class StreamReader(inputStream: InputStream, limit: Int, timeout: Int, filter: (String) -> Boolean?)
Link copied to clipboard
object StubCreator
Link copied to clipboard
object SystemServices
Link copied to clipboard
object ToastSender

Responsible for sending Toasts under all circumstances.

Link copied to clipboard
object UriUtils

Functions

Link copied to clipboard
inline fun <T, R : Any> Iterable<T>.mapNotNullToSparseArray(transform: (T) -> Pair<Int, R>?): SparseArray<R>
Link copied to clipboard
@RequiresApi(value = 22)
fun Bundle.toPersistableBundle(): PersistableBundle

Creates a new PersistableBundle from the specified Bundle. Will ignore all values that are not persistable, according to .isPersistableBundleType.