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:
parent
bcd1d81d72
commit
47d4b5b54d
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user