Checking the method System.currentTimeMilllis()
it says:
This method shouldn't be used for measuring timeouts or other
elapsed time measurements, as changing the system time can affect the results.
and other method like SystemClock.elapsedRealTime() resets if the system is reset
So if I want to measure time in order to do a certain action once every two days regardless of whether user changes the system time, how can I measure it?