diff options
| author | Wu-cheng Li <wuchengli@google.com> | 2012-04-26 16:21:56 +0800 |
|---|---|---|
| committer | Wu-cheng Li <wuchengli@google.com> | 2012-04-26 16:48:36 +0800 |
| commit | 788245711658188131ae2670e44fb6ca8ad5d53a (patch) | |
| tree | 5262844c8a3bf368887b29026e2d1f234a5f0061 /src/com/android | |
| parent | 736cf74b170d32374c8b35dbe6a46d975258be87 (diff) | |
| download | android_packages_apps_Gallery2-788245711658188131ae2670e44fb6ca8ad5d53a.tar.gz android_packages_apps_Gallery2-788245711658188131ae2670e44fb6ca8ad5d53a.tar.bz2 android_packages_apps_Gallery2-788245711658188131ae2670e44fb6ca8ad5d53a.zip | |
Make sure action bar is hidden when camera starts.
bug:6402552
Change-Id: I2ec39e607a505490e431181eb40e259102b9a773
Diffstat (limited to 'src/com/android')
| -rw-r--r-- | src/com/android/gallery3d/app/PhotoPage.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index fadcbf1ce..add175e7e 100644 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java @@ -186,6 +186,9 @@ public class PhotoPage extends ActivityState // Start from the screen nail. itemPath = mScreenNailItemPath; + + // Action bar should not be displayed when camera starts. + mFlags |= FLAG_HIDE_ACTION_BAR; } mMediaSet = mActivity.getDataManager().getMediaSet(mSetPathString); |
