Prevent dialog from invalid context

  Bug: 6346748

Change-Id: Ia65ecc1ecb882b480127aca0034db25a9e51ed3c
1 file changed