OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348988d
)
Change thumbnail's position only when it is invisible.
author
Owen Lin
<owenlin@google.com>
Wed, 2 May 2012 09:22:52 +0000
(17:22 +0800)
committer
Owen Lin
<owenlin@google.com>
Wed, 2 May 2012 09:22:52 +0000
(17:22 +0800)
bug:
6393694
Change-Id: I33f41c3c894b4c6d28e0832cfd4badbfca3a4f64
src/com/android/gallery3d/app/AlbumPage.java
patch
|
blob
|
history
diff --git
a/src/com/android/gallery3d/app/AlbumPage.java
b/src/com/android/gallery3d/app/AlbumPage.java
index
0e3e31f
..
70831b4
100644
(file)
--- a/
src/com/android/gallery3d/app/AlbumPage.java
+++ b/
src/com/android/gallery3d/app/AlbumPage.java
@@
-537,7
+537,7
@@
public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster
case REQUEST_PHOTO: {
if (data == null) return;
mFocusIndex = data.getIntExtra(PhotoPage.KEY_RETURN_INDEX_HINT, 0);
- mSlotView.
setCenterIndex
(mFocusIndex);
+ mSlotView.
makeSlotVisible
(mFocusIndex);
mSlotView.startRestoringAnimation(mFocusIndex);
break;
}