Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #45

Merged
merged 12 commits into from
May 5, 2023
Prev Previous commit
Next Next commit
Prevent logger from starting when no Activity to handle
Sylwester Zielinski committed May 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 776f4773638af195162ca708325606116ce08b60
Original file line number Diff line number Diff line change
@@ -48,6 +48,6 @@ object LoggerLauncher {

val intent= sessionUri?.let { Intent(Intent.ACTION_VIEW, it) } ?: packageManger.getLaunchIntentForPackage(LOGGER_PACKAGE_NAME)
intent?.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
context.startActivity(intent)
intent?.let { context.startActivity(intent) }
}
}