weijiang8410 / mathdoku

Automatically exported from code.google.com/p/mathdoku
0 stars 0 forks source link

Force Close when orientation change during New Game generation #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Hold phone vertically
2. Select New Game -> 8x8
3. While game is being generated, turn the phone horizontally.

What is the expected output? What do you see instead?
Expect orientation to change and new game to be displayed. Instead a Force 
Close occurs (on a real device). Emulator appears to hang.

Original issue reported on code.google.com by em...@srlee.com on 10 Jan 2011 at 12:21

GoogleCodeExporter commented 9 years ago
It's caused by trying to dismiss the Progress Dialog
http://code.google.com/p/android/issues/detail?id=11953

Original comment by em...@srlee.com on 23 Jan 2011 at 1:51

GoogleCodeExporter commented 9 years ago
Solutions?
http://www.paxmodept.com/telesto/blogitem.htm?id=766
http://blog.doityourselfandroid.com/2010/11/14/handling-progress-dialogs-and-scr
een-orientation-changes/

Original comment by em...@srlee.com on 23 Jan 2011 at 2:18

GoogleCodeExporter commented 9 years ago
This is resolved in revision101.

Original comment by paul.din...@gmail.com on 15 Mar 2013 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by paul.din...@gmail.com on 15 Mar 2013 at 3:41

GoogleCodeExporter commented 9 years ago
Tested successfully in R114

Original comment by em...@srlee.com on 15 Mar 2013 at 3:48