Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-android
Commits
497c3af6
Commit
497c3af6
authored
Mar 03, 2017
by
Robert Hitt
Browse files
Should fix CI build failing
parent
f871ff56
Pipeline
#1028
failed with stages
in 2 minutes and 14 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
app/src/main/java/srct/whatsopen/MyApplication.java
View file @
497c3af6
...
...
@@ -8,6 +8,7 @@ import android.content.res.Configuration;
import
android.preference.PreferenceManager
;
import
com.crashlytics.android.Crashlytics
;
import
com.crashlytics.android.core.CrashlyticsCore
;
import
com.squareup.leakcanary.LeakCanary
;
import
io.fabric.sdk.android.Fabric
;
...
...
@@ -19,7 +20,11 @@ public class MyApplication extends Application {
@Override
public
void
onCreate
()
{
super
.
onCreate
();
Fabric
.
with
(
this
,
new
Crashlytics
());
Fabric
.
with
(
this
,
new
Crashlytics
.
Builder
()
.
core
(
new
CrashlyticsCore
.
Builder
()
.
disabled
(
BuildConfig
.
DEBUG
)
.
build
())
.
build
());
// Set up LeakCanary for memory leak detection
if
(
LeakCanary
.
isInAnalyzerProcess
(
this
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment