Skip to content
Commit a39f426d authored by Nick Chameyev's avatar Nick Chameyev
Browse files

[MediaProjection] Finish permission activity if dialog dismissed or cancelled

Currently, when turning off/turning on the screen
the activity still stays visible. We handle the dialog
cancellation case by finishing the activity in onCancel
callback but we don't do this for dismissing.

Bug: 276431368
Test: open media projection dialog, turn off the screen,
  turn on the screen => check that dialog and activity
  are dismissed and closed
Change-Id: I17b8a26e0285fab7b99871290a1588a5b6b13cfa
parent 5351ad5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment