mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 04:28:00 +01:00
move photo panorama check on a background thread
This commit is contained in:
parent
ce0db222e3
commit
23f77ea19f
1 changed files with 4 additions and 1 deletions
|
@ -207,9 +207,12 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
loadImage()
|
||||
initExtendedDetails()
|
||||
mWasInit = true
|
||||
checkIfPanorama()
|
||||
updateInstantSwitchWidths()
|
||||
|
||||
ensureBackgroundThread {
|
||||
checkIfPanorama()
|
||||
}
|
||||
|
||||
return mView
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue