racker/android-rackspacecloud — pull request #3 by marcab (2012-12-10 22:18:34+00:00)
Title: [MOBL-18] Device rotation no longer bypasses app password.

Previously rotating the device would bypass the app password (not the account password).

This was because every Activity's onPause would set the app's 'lastPaused' time which the app used to tell whether to put up a password prompt. Rotation (by default) relaunches the activity, so it would pass through onPause and set a more recent time, so the check in onResume would then see the newer time and see no need to prompt for password.

I've changed it so only when logged in it resets the lastPaused value. This system is still suspect, but this plugs the biggest hole.