emanuele-f / PCAPdroid

No-root network monitor, firewall and PCAP dumper for Android
https://emanuele-f.github.io/PCAPdroid
GNU General Public License v3.0
2.28k stars 273 forks source link

Blacklist update timer uses non monotonic time #413

Closed emanuele-f closed 7 months ago

emanuele-f commented 7 months ago

System.currentTimeMillis is being used, which is not monotonic (it's the wall clock). SystemClock.elapsedRealtime should be used instead