This commit is contained in:
Mygod
2018-12-30 17:57:53 +08:00
parent f0a89d5498
commit 5abd3661c3
2 changed files with 7 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ object ManageBar : Manager() {
private fun startAlternative(context: Context, e: RuntimeException) {
try {
context.startActivity(Intent().setClassName("com.android.settings", SETTINGS_2))
context.startActivity(Intent().setClassName(SETTINGS_PACKAGE, SETTINGS_2))
DebugHelper.logEvent(TAG, bundleOf(Pair(SETTINGS_1, e.message)))
} catch (e: ActivityNotFoundException) {
DebugHelper.logEvent(TAG, bundleOf(Pair(SETTINGS_1, e.message), Pair(SETTINGS_2, e.message)))