mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-03-30 08:17:46 +02: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()
|
loadImage()
|
||||||
initExtendedDetails()
|
initExtendedDetails()
|
||||||
mWasInit = true
|
mWasInit = true
|
||||||
checkIfPanorama()
|
|
||||||
updateInstantSwitchWidths()
|
updateInstantSwitchWidths()
|
||||||
|
|
||||||
|
ensureBackgroundThread {
|
||||||
|
checkIfPanorama()
|
||||||
|
}
|
||||||
|
|
||||||
return mView
|
return mView
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue