Java Code Examples for com.squareup.leakcanary.RefWatcher#DISABLED
The following examples show how to use
com.squareup.leakcanary.RefWatcher#DISABLED .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ProteinApp.java From Protein with Apache License 2.0 | 4 votes |
protected RefWatcher installLeakCanary() { return RefWatcher.DISABLED; }
Example 2
Source File: MyAppLifecycles.java From LQRBiliBlili with MIT License | 4 votes |
private void initLeakCanary(Application application) { //leakCanary内存泄露检查 mRefWatcher = BuildConfig.USE_CANARY ? LeakCanary.install(application) : RefWatcher.DISABLED; }
Example 3
Source File: AppServices.java From science-journal with Apache License 2.0 | 4 votes |
@Override public RefWatcher getRefWatcher() { return RefWatcher.DISABLED; }
Example 4
Source File: WhistlePunkApplication.java From science-journal with Apache License 2.0 | 4 votes |
protected RefWatcher installLeakCanary() { return RefWatcher.DISABLED; }
Example 5
Source File: AppModule.java From photosearcher with Apache License 2.0 | 4 votes |
@Provides @Singleton protected RefWatcher refWatcher() { return RefWatcher.DISABLED; }
Example 6
Source File: LeakCanaryWrapper.java From leakcanary-for-eclipse with MIT License | 4 votes |
public static RefWatcher install(Application application) { return RefWatcher.DISABLED; }
Example 7
Source File: AppModule.java From Qiitanium with MIT License | 4 votes |
@Singleton @Provides public RefWatcher provideRefWatcher() { return RefWatcher.DISABLED; }