diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-30 22:12:23 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-30 22:12:23 -0700 |
commit | cf2a648e61290fe36453a56371c0d39e9edff8ff (patch) | |
tree | 12aad62f35a94c9f9b060d85d307618a9f7d9ebe /app/src/main/kotlin/com/pitchedapps | |
parent | e923730a265a68e5d696eaa23a7a3caca80f0826 (diff) | |
download | frost-cf2a648e61290fe36453a56371c0d39e9edff8ff.tar.gz frost-cf2a648e61290fe36453a56371c0d39e9edff8ff.tar.bz2 frost-cf2a648e61290fe36453a56371c0d39e9edff8ff.zip |
Remove throwing before restart
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt index 5744f987..85b70a60 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt @@ -372,7 +372,7 @@ class MainActivity : BaseActivity(), FrostWebViewSearch.SearchContract { REQUEST_NAV -> frostNavigationBar() REQUEST_SEARCH -> invalidateOptionsMenu() REQUEST_RESTART_APPLICATION -> { //completely restart application - L.eThrow("Restart Application Requested") + L.d("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) |