Contact status doesn't work correctly on Android mobile and Android TV
Describe your environment
Contacts status from "online" to "offline" doesn't change on Android mobile and Android TV.
Please specify the following:
- Ring version: 2020069-01
- Device model: Ematic Jetstream
- Android version: 9.0
- What build you are using: Google Play Store
Steps to reproduce
To better understand how I reproduce this bug, I'm using an account on my Windows 10 computer and I'm using a different account on my phone and Android TV device.
Open Jami on my phone or Android TV device and I can see the contact from my Windows 10 computer is offline.
Open Jami on my computer, the contact status on my phone and Android TV device changes to "online" with the green dot. I could make a call or send a message but it's not mandatory for the next step.
Now I close Jami on my Windows 10 computer, after 5 to 6 minutes the contact on my phone and Android TV device changes to "offline".
The problem lies if I exit the app on my phone or Android TV device BEFORE I close the app on my computer, the contact status of the Windows 10 computer never changes, it appears always connected and the only way to fix that is to force-stop the app but sometimes doing that doesn't fix the problem either.
Additionally, when I exit the app on my Android TV device and switch it to standby mode with the remote control, my contact status doesn't change to offline neither so my contacts always see me as online on their devices when I'm not.