How do you "Hibernate" on non amazon Android phones? (4.2)
I submitted my game to Amazon Android store. It passed all the tests for Amazon devices(except for Fire TV), but didn't pass the test for non amazon devices and blackberry. The issue I got was this: "Observation:- State Loss / App restarts from different state : 1.Install and Launch the app. 2.Tap on and select any mode to play "Start Race:Easy/Hard". 3.Play for a while and "Hibernate" the device. 4.Unlock the device,app restarts from beginning." I took special care in saving the game state when destroying the game(on onDestroy) and saving it to an internal storage file. For some kind of a reason it didn't work on the tester's non amazon device eventhough it works on my Galaxy Note 1 and even though it cleared the same issue that was on the Amazon devices as well. Maybe I don't understand how am I suppose to "Hibernate" the phone. In any case I am unable to reproduce the issue on my Note 1. Any idea how to reproduce it or what to do? Thank you.
From what I understand Hibernate simply means Sleep. So you can make your phone sleep by waiting for the display shut down depending on how long you set it to wait in inactive state before going to sleep.