Skip to content

Commit bc1aafc

Browse files
committed
addressed comments
1 parent 17093a4 commit bc1aafc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

common/src/main/java/com/microsoft/identity/common/internal/ui/webview/AzureActiveDirectoryWebViewClient.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -710,12 +710,8 @@ protected boolean isWebCpInWebviewFeatureEnabled(@NonNull final String originalU
710710
final String methodTag = TAG + ":isWebCpInWebviewFeatureEnabled";
711711
try {
712712
if (!ProcessUtil.isRunningOnAuthService(getActivity().getApplicationContext())) {
713-
if (mIsWebViewWebCpEnabledInBrokerlessCase) {
714-
mInWebCpFlow = true;
715-
} else {
716-
// Disabled webcp in webview feature for brokerless flows for now.
717-
Logger.info(methodTag, "Not running on AuthService, skipping WebCP in WebView feature check.");
718-
}
713+
mInWebCpFlow = mIsWebViewWebCpEnabledInBrokerlessCase;
714+
Logger.info(methodTag, "Not running on AuthService, WebCP in WebView feature enabled? "+ mIsWebViewWebCpEnabledInBrokerlessCase);
719715
return mInWebCpFlow;
720716
}
721717

0 commit comments

Comments
 (0)