From 470557c59ea7a11ebcd53f0d7034c35a927b260c Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Thu, 14 Sep 2023 11:23:19 +0100 Subject: [PATCH 1/2] Open OIDC account management URL in chrome tab Not the external browser --- .../app/features/settings/VectorSettingsGeneralFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt b/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt index ac34764f5f..a004f7cd3d 100644 --- a/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt +++ b/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt @@ -48,7 +48,7 @@ import im.vector.app.core.preference.VectorPreference import im.vector.app.core.preference.VectorSwitchPreference import im.vector.app.core.utils.TextUtils import im.vector.app.core.utils.getSizeOfFiles -import im.vector.app.core.utils.openUrlInExternalBrowser +import im.vector.app.core.utils.openUrlInChromeCustomTab import im.vector.app.core.utils.toast import im.vector.app.databinding.DialogChangePasswordBinding import im.vector.app.features.MainActivity @@ -221,7 +221,7 @@ class VectorSettingsGeneralFragment : // Hide the preference if no URL is given by server if (homeServerCapabilities.externalAccountManagementUrl != null) { mExternalAccountManagementPreference.onPreferenceClickListener = Preference.OnPreferenceClickListener { - openUrlInExternalBrowser(it.context, homeServerCapabilities.externalAccountManagementUrl) + openUrlInChromeCustomTab(it.context, null, homeServerCapabilities.externalAccountManagementUrl!!) true } From 3f2f3860e142a32ce23ed1caa51cab0097b789aa Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Thu, 14 Sep 2023 11:27:49 +0100 Subject: [PATCH 2/2] Changelog --- changelog.d/8645.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/8645.misc diff --git a/changelog.d/8645.misc b/changelog.d/8645.misc new file mode 100644 index 0000000000..afbeb7b19c --- /dev/null +++ b/changelog.d/8645.misc @@ -0,0 +1 @@ +Open external account manager for delete other sessions using Chrome custom tabs.