Skip to content

Commit 8bd73ce

Browse files
authored
Workaround for Android bug
Attempting to fix #3769 based on the analysis in this issue: https://stackoverflow.com/a/70867926/756809
1 parent 526b332 commit 8bd73ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ports/Android/src/com/codename1/impl/android/AndroidImplementation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5241,7 +5241,7 @@ public void clearNativeCookies() {
52415241
}
52425242
private static CookieManager cookieManager;
52435243
private static CookieManager getCookieManager() {
5244-
if (android.os.Build.VERSION.SDK_INT >= 21) {
5244+
if (android.os.Build.VERSION.SDK_INT > 28) {
52455245
return CookieManager.getInstance();
52465246
}
52475247
if (cookieManager == null) {

0 commit comments

Comments
 (0)