move photo panorama check on a background thread
This commit is contained in:
parent
ce0db222e3
commit
23f77ea19f
|
@ -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…
Reference in New Issue