b/2323277 Fixed race condition where the user clicks on the dialog before dismiss() is processed.

Change-Id: Iae98c45e4c1c5d36f33d6519ee2adba515f6b9aa
1 file changed