1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-28 01:11:45 +01:00

fixed CI error

This commit is contained in:
Mariotaku Lee 2016-02-05 02:54:56 +08:00
parent bcd1d81d72
commit 47d4b5b54d
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,6 @@ public class DebugModeUtils {
.enableDumpapp(Stetho.defaultDumperPluginsProvider(application))
.enableWebKitInspector(Stetho.defaultInspectorModulesProvider(application))
.build());
// LeakCanary not working on Android Marshmallow, see https://github.com/square/leakcanary/issues/267
sRefWatcher = LeakCanary.install(application);
}

View File

@ -21,14 +21,15 @@ package org.mariotaku.twidere.util;
import android.app.Application;
import com.squareup.okhttp.OkHttpClient;
import okhttp3.OkHttpClient;
/**
* Created by mariotaku on 15/5/27.
*/
public class DebugModeUtils {
public static void initForHttpClient(final OkHttpClient client) {
public static void initForHttpClient(final OkHttpClient.Builder client) {
// No-op
}