Incorrect contact status
This is on Android 7.1.2 and happens on other devices running Android 10 and 11 as well.
I have reopened this issue separately for clarity - this incorrect status is an Android UI issue, when the WiFi is switched off, the contacts continues to appear ONLINE. Some service which is supposed to update the UI doesn't seem to update the UI. I tried looking in to the Android code, I am not able to easily find where the Green Circle is redrawn -
I tracked it up to here which goes to the Native Code
Can you let me know how the UI gets updated and point me to the Java code, so that I can debug and fix it if possible.