mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-18 06:17:59 +01:00
clear media on destroy at third party intents
This commit is contained in:
parent
9e809adf10
commit
316566b09c
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
}
|
||||
|
||||
if (config.isThirdPartyIntent) {
|
||||
mMedia.clear()
|
||||
config.isThirdPartyIntent = false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue