Skip to content

Commit

Permalink
Workaround for Android bug
Browse files Browse the repository at this point in the history
Attempting to fix #3769 based on the analysis in this issue: https://stackoverflow.com/a/70867926/756809
  • Loading branch information
shai-almog authored Nov 27, 2023
1 parent 526b332 commit 8bd73ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5241,7 +5241,7 @@ public void clearNativeCookies() {
}
private static CookieManager cookieManager;
private static CookieManager getCookieManager() {
if (android.os.Build.VERSION.SDK_INT >= 21) {
if (android.os.Build.VERSION.SDK_INT > 28) {
return CookieManager.getInstance();
}
if (cookieManager == null) {
Expand Down

0 comments on commit 8bd73ce

Please sign in to comment.