Comment 9 for bug 579382

Revision history for this message
evolvedlight (steve-evolvedlight) wrote :

Thats because you haven't yet handled it in getLocations() (SelectPOIActivity.java line 143): when the orientation changes you need to handle it by overriding methods (something like onSaveInstanceState), and make sure you remember what the user was doing at that point, and then in getLocations you need to make sure that the dialog actually exists before you try to close it.

Thats what I don't like about the android plaform: things can actually change between 2 lines of code...