I am trying to figure out how onSaveInstanceState/onRestoreInstanceState work with a dialog. With an Acitivity it is easy since they are invoked when the Activity is killed/restarted.
Our Activity displays a login dialog. When is the onSaveInstanceState/onRestoreInstanceStateof the dialog called?
Does it get called automatically when we unbundle the object?