Yours is not an answer, he wants a test, how do you write a test case to handle this situation I think is what he wants. And after searching the web seems no one knows this either.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/07f28a01-4ef9-4cb0-a7b4-d7a7add81a25%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

