When you have issues with android source code, how do you dig into the code?
For example for this issue
I saw from the debugger that the CookieManager is AwCookieManager
.
So from Google search I found that the setCookie is the following:
public void setCookie(final String url, final String value) {
nativeSetCookie(url, value);
}
But I had trouble finding that native code to see what's going on.
I searched again in Google and found different version of this native and java and ended up with this file: https://android.googlesource.com/platform/external/webkit/+/4bcd50196a7fe4c0c909ce6a7cfac6a808336611/Source/WebKit/android/jni/CookieManager.cpp
but I am not sure if this is the right file to look at and I suspect there is a smarter way for debugging these kind of things. I also wasn't sure how to find the called methods from that file.
So how do you do it?