Skip to content

Commit

Permalink
Update SeaWebViewClient.java
Browse files Browse the repository at this point in the history
  • Loading branch information
zhwanng committed Dec 18, 2024
1 parent 94ad3b7 commit 8c566ca
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,6 @@ private String buildUrl(String url) {
}

return Token2SessionConverts.buildUrl(url);

// // Optimise the code here:
// // The expiry time of each cookie field is not consistent,
// // and it is possible to be redirected to the login page when opening the link
// String cookieStr = SupportCookieManager.getCookie(url);
// String u = url;
// if (TextUtils.isEmpty(cookieStr)) {
// u = Token2SessionConverts.buildUrl(url);
// Log.d(getClass().getSimpleName(), "link redirect to -> " + u);
// } else {
// Log.d(getClass().getSimpleName(), "link to -> " + u);
// }
// return u;
}

}
Expand Down

0 comments on commit 8c566ca

Please sign in to comment.