You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Load the authorization URL in a browser custom tab if required and do nothing otherwise as the view model will load it in the web view.
1109
-
// TODO: Coverage needed? ECJ20251210
1110
-
if ((singleServerCustomTabActivity || isBrowserLoginEnabled) &&!isUsingFrontDoorBridge /* UI front-door bridge bypasses the need for browser custom tab */) {
1114
+
// TODO: Coverage needed - This one is challenging. ECJ20251210
1115
+
if (singleServerCustomTabActivity) {
1116
+
Log.i("WSC", "A.1")
1117
+
} else {
1118
+
Log.i("WSC", "A.2")
1119
+
}
1120
+
if (isBrowserLoginEnabled) {
1121
+
Log.i("WSC", "B.1")
1122
+
} else {
1123
+
Log.i("WSC", "B.2")
1124
+
}
1125
+
1126
+
if ((!singleServerCustomTabActivity).and(!isBrowserLoginEnabled)) {
1127
+
Log.i("WSC", "B.X Both Sides False")
1128
+
}
1129
+
1130
+
if (singleServerCustomTabActivity.and(!isBrowserLoginEnabled)) {
1131
+
Log.i("WSC", "B.3 Right Side")
1132
+
}
1133
+
1134
+
if ((!singleServerCustomTabActivity).and(isBrowserLoginEnabled)) {
1135
+
Log.i("WSC", "B.4 Left Side")
1136
+
}
1137
+
1138
+
val useBrowserLogin = (singleServerCustomTabActivity.or(isBrowserLoginEnabled))
1139
+
1140
+
if (useBrowserLogin.and(isUsingFrontDoorBridge)) {
1141
+
Log.i("WSC", "B.X Both Sides False")
1142
+
}
1143
+
1144
+
if (useBrowserLogin.and(!isUsingFrontDoorBridge)) {
1145
+
Log.i("WSC", "B.X Left/!Right")
1146
+
}
1147
+
1148
+
if (isUsingFrontDoorBridge) {
1149
+
Log.i("WSC", "C.1")
1150
+
} else {
1151
+
Log.i("WSC", "C.2")
1152
+
}
1153
+
1154
+
if (useBrowserLogin.and(isUsingFrontDoorBridge)) {
1155
+
Log.i("WSC", "C.3 Right Side")
1156
+
}
1157
+
1158
+
val useBrowserLoginGuardAgainstFrontDoorBridge = useBrowserLogin.and(!isUsingFrontDoorBridge) /* UI front-door bridge bypasses the need for browser custom tab */
0 commit comments