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…
Reference in a new issue