Lines Matching +refs:android +refs:activity +refs:class

15 class MyService : Service {
31 …n their **debug** [Application](https://developer.android.com/reference/android/app/Application) c…
34 class DebugExampleApplication : ExampleApplication() {
44 …Create a debug application class in your `src/debug/java` folder. Don't forget to also register it…
87 * Hide the leak display activity launcher icon: override `R.bool.leak_canary_add_launcher_icon` or …
94class in your classpath and if found, will disable itself to avoid running in tests. However, some…
104 …:leakcanary-android` dependency should only be used in debug builds. It depends on `com.squareup.l…
110 …implementation 'com.squareup.leakcanary:leakcanary-object-watcher-android:{{ leak_canary.release }…
121 … To avoid accidentally including the `com.squareup.leakcanary:leakcanary-android` dependency in a …
136activity that displays leaks from appearing in apps list. As a workaround, LeakCanary prints an `a…
138 adb shell am start -n "com.your.package.name/leakcanary.internal.activity.LeakLauncherActivity"
144 The activity that displays leaks comes with a default icon and label, which you can change by provi…
171 … on top of [AndroidReferenceMatchers.appDefaults](/leakcanary/api/shark/-android-reference-matcher…
174 class DebugExampleApplication : ExampleApplication() {
198 2. Disable LeakCanary automatic activity or fragment watching (e.g. `AppWatcher.config = AppWatcher…
203 class DebugExampleApplication : ExampleApplication() {
241 All you have to do is replace the `leakcanary-android` dependency with `leakcanary-android-process`:
245 // debugImplementation 'com.squareup.leakcanary:leakcanary-android:${version}'
246 debugImplementation 'com.squareup.leakcanary:leakcanary-android-process:${version}'
250 …leak-canary-process/is-in-analyzer-process/) to check if your Application class is being created i…
257 android {
276 android {
288 devDebugImplementation "com.squareup.leakcanary:leakcanary-android:${version}"
299 class DebugExampleApplication : ExampleApplication() {
345 apply plugin: 'com.android.application'
387 HotSpotDiagnosticMXBean::class.java
410 class JvmHeapAnalyzer(private val objectWatcher: ObjectWatcher) :
475activity that has a [Intent#CATEGORY_LAUNCHER](https://developer.android.com/reference/android/con…
477 * Add `Intent#CATEGORY_INFO` to your main activity intent filter, so that it gets picked up first. …
478 * Disable the leakcanary launcher activity by setting the `leak_canary_add_launcher_icon` resource …