Save activity state before stopping acitivity when device sleeps am: b5066fe307 am: 3adb9d9318
am: 0f82e46fb6

Change-Id: Ic3b40cd3bb7df5f80c73b1a2ee88b42770c5f2c8