I can get the time change events with the help of broadcast events (ACTION_TIME_CHANGED
and ACTION_DATE_CHANGED
).
I need to get the previous time after time change. For example, the current time is 10:00. I am going to change time to 12:00. After time change, time will be changed to 12:00, but I need to get the previous time (10:00) at the time of time change.
Note: Time can be changed from any other app or from settings.