From c9036bf33659c7736fbc227ea38e250532ad86ea Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Mon, 1 May 2017 14:02:32 +0800 Subject: [PATCH] TuskyApplication: call super.onCreate() Although for now it makes no difference calling super.onCreate or not (the method Application.onCreate() is empty), it is denoted with @CallSuper and might cause errors in some IDE if it is not called. --- app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java b/app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java index 6fc59398..c96f608a 100644 --- a/app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java +++ b/app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java @@ -24,6 +24,7 @@ import com.jakewharton.picasso.OkHttp3Downloader; public class TuskyApplication extends Application { @Override public void onCreate() { + super.onCreate(); // Initialize Picasso configuration Picasso.Builder builder = new Picasso.Builder(this); builder.downloader(new OkHttp3Downloader(this));