summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2013-09-13 14:55:31 -0700
committerAngus Kong <shkong@google.com>2013-09-13 16:04:13 -0700
commit44974d4b8014ec1f3c8ef1b9d77aae990bbba821 (patch)
tree7fb3ccfc786b244fadebde7e9ab020c18cb61345
parent7e1e10f34dcb77566d0551b7fb8b0b4e7e18ca25 (diff)
downloadandroid_packages_apps_Snap-44974d4b8014ec1f3c8ef1b9d77aae990bbba821.tar.gz
android_packages_apps_Snap-44974d4b8014ec1f3c8ef1b9d77aae990bbba821.tar.bz2
android_packages_apps_Snap-44974d4b8014ec1f3c8ef1b9d77aae990bbba821.zip
Don't show menu/indicators in wide-angle mode.
bug:10674078 Change-Id: I08edd11ead1c71cd6b81274938c92f788c039a8f
-rw-r--r--src/com/android/camera/WideAnglePanoramaUI.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/camera/WideAnglePanoramaUI.java b/src/com/android/camera/WideAnglePanoramaUI.java
index 0ce9d62dc..7c846468e 100644
--- a/src/com/android/camera/WideAnglePanoramaUI.java
+++ b/src/com/android/camera/WideAnglePanoramaUI.java
@@ -97,7 +97,6 @@ public class WideAnglePanoramaUI implements
createContentView();
mSwitcher = (ModuleSwitcher) mRootView.findViewById(R.id.camera_switcher);
- Log.v(TAG, "setting CurrentIndex:" + ModuleSwitcher.WIDE_ANGLE_PANO_MODULE_INDEX);
mSwitcher.setCurrentIndex(ModuleSwitcher.WIDE_ANGLE_PANO_MODULE_INDEX);
mSwitcher.setSwitchListener(mActivity);
}
@@ -380,6 +379,9 @@ public class WideAnglePanoramaUI implements
mShutterButton = (ShutterButton) mRootView.findViewById(R.id.shutter_button);
mShutterButton.setImageResource(R.drawable.btn_new_shutter);
mShutterButton.setOnShutterButtonListener(this);
+ // Hide menu and indicators.
+ mRootView.findViewById(R.id.menu).setVisibility(View.GONE);
+ mRootView.findViewById(R.id.on_screen_indicators).setVisibility(View.GONE);
}
private void showTooFastIndication() {