Insert SilentContextWrapper to avoid crash in startService()
This commit is contained in:
1 parent
b64b14c69a
commit
62348433df
2 files changed
+64
No files matched your search
@@ -28,6 +28,7 @@ import android.support.annotation.NonNull;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.support.v4.util.LruCache;
|
||||
import android.util.Log;
|
||||
import com.hippo.app.SilentContextWrapper;
|
||||
import com.hippo.beerbelly.SimpleDiskCache;
|
||||
import com.hippo.conaco.Conaco;
|
||||
import com.hippo.content.RecordingApplication;
|
||||
@@ -88,6 +89,8 @@ public class EhApplication extends RecordingApplication {
|
||||
@SuppressLint("StaticFieldLeak")
|
||||
@Override
|
||||
public void onCreate() {
|
||||
SilentContextWrapper.attach(this);
|
||||
|
||||
super.onCreate();
|
||||
|
||||
GetText.initialize(this);
|
||||
|
||||
Reference in new issue
Block a user