Loading src/com/android/gallery3d/data/LocalImage.java +2 −2 Original line number Diff line number Diff line Loading @@ -259,8 +259,8 @@ public class LocalImage extends LocalMediaItem { operation |= SUPPORT_PANORAMA; if (isPanorama360()) { operation |= SUPPORT_PANORAMA360; // disable destructive rotate for 360 degree panorama operation &= ~SUPPORT_ROTATE; // disable destructive rotate and crop for 360 degree panorama operation &= ~(SUPPORT_ROTATE | SUPPORT_CROP); } } return operation; Loading src/com/android/gallery3d/data/UriImage.java +2 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,8 @@ public class UriImage extends MediaItem { supported |= SUPPORT_PANORAMA; if (isPanorama360()) { supported |= SUPPORT_PANORAMA360; // disable destructive crop for 360 degree panorama supported &= ~SUPPORT_CROP; } } return supported; Loading Loading
src/com/android/gallery3d/data/LocalImage.java +2 −2 Original line number Diff line number Diff line Loading @@ -259,8 +259,8 @@ public class LocalImage extends LocalMediaItem { operation |= SUPPORT_PANORAMA; if (isPanorama360()) { operation |= SUPPORT_PANORAMA360; // disable destructive rotate for 360 degree panorama operation &= ~SUPPORT_ROTATE; // disable destructive rotate and crop for 360 degree panorama operation &= ~(SUPPORT_ROTATE | SUPPORT_CROP); } } return operation; Loading
src/com/android/gallery3d/data/UriImage.java +2 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,8 @@ public class UriImage extends MediaItem { supported |= SUPPORT_PANORAMA; if (isPanorama360()) { supported |= SUPPORT_PANORAMA360; // disable destructive crop for 360 degree panorama supported &= ~SUPPORT_CROP; } } return supported; Loading