rackspace/android-rackspacecloud — pull request #27 by marcab (2012-12-10 22:15:17+00:00)
Title: Mobl 18/password device rotation

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.