I build an app which fires an activity every time the orientation changes, but I have an exception: I don't want the activity to fire within the next five seconds after phone was unlocked.
So after phone is unlocked I will disregard every phone orientation change for five seconds.
I thought I could get the last-unlock-time and compare it with the current time?
Any suggestions of how to do so?
Thanks!