aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-30 20:39:39 -0700
committerAllan Wang <me@allanwang.ca>2017-06-30 20:39:39 -0700
commita5ea70cd8fbc1f4fb15742d810698a7caef0eb26 (patch)
treec2a39ad37e6074ae58dc708e66f6e7dfbbd66e04 /app
parent1811531d6934f4eadfca70b30afa2dac76400bef (diff)
downloadfrost-a5ea70cd8fbc1f4fb15742d810698a7caef0eb26.tar.gz
frost-a5ea70cd8fbc1f4fb15742d810698a7caef0eb26.tar.bz2
frost-a5ea70cd8fbc1f4fb15742d810698a7caef0eb26.zip
Ensure crashlytics sends report
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt1
2 files changed, 2 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index f72c9096..041ee3c1 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -120,9 +120,7 @@ dependencies {
kapt "nz.bradcampbell:paperparcel-compiler:${PAPER_PARCEL}"
compile "com.jude:swipebackhelper:${SWIPE_BACK}"
-
- compile 'com.android.billingclient:billing:dp-1'
-
+
compile("com.crashlytics.sdk.android:crashlytics:${CRASHLYTICS}@aar") {
transitive = true;
}
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt
index 9094c58e..5744f987 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt
@@ -372,6 +372,7 @@ class MainActivity : BaseActivity(), FrostWebViewSearch.SearchContract {
REQUEST_NAV -> frostNavigationBar()
REQUEST_SEARCH -> invalidateOptionsMenu()
REQUEST_RESTART_APPLICATION -> { //completely restart application
+ L.eThrow("Restart Application Requested")
val intent = packageManager.getLaunchIntentForPackage(packageName)
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)
val pending = PendingIntent.getActivity(this, 666, intent, PendingIntent.FLAG_CANCEL_CURRENT)