OSDN Git Service

Make sure action bar is hidden when camera starts.
authorWu-cheng Li <wuchengli@google.com>
Thu, 26 Apr 2012 08:21:56 +0000 (16:21 +0800)
committerWu-cheng Li <wuchengli@google.com>
Thu, 26 Apr 2012 08:48:36 +0000 (16:48 +0800)
bug:6402552

Change-Id: I2ec39e607a505490e431181eb40e259102b9a773

src/com/android/gallery3d/app/PhotoPage.java

index fadcbf1..add175e 100644 (file)
@@ -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);