summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-08-30 01:54:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-30 01:54:47 +0000
commitb3d4d8e58831f6fffc078c8a6ee750dfe0f2a123 (patch)
treefd9d2d14393c633d4d62b31b3e14dc5452f5e736 /src
parentc09c5f0328a28ccfe9a0a9b37d028e91a94ded94 (diff)
parentbdd198ee9047fc180b8e97e1c3a76132256fd36c (diff)
downloadandroid_packages_apps_Snap-b3d4d8e58831f6fffc078c8a6ee750dfe0f2a123.tar.gz
android_packages_apps_Snap-b3d4d8e58831f6fffc078c8a6ee750dfe0f2a123.tar.bz2
android_packages_apps_Snap-b3d4d8e58831f6fffc078c8a6ee750dfe0f2a123.zip
Merge "Fix gap between camera controls and nav bar" into gb-ub-photos-carlsbad
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/VideoUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java
index 74d4cea9b..ad42b1aa0 100644
--- a/src/com/android/camera/VideoUI.java
+++ b/src/com/android/camera/VideoUI.java
@@ -168,7 +168,7 @@ public class VideoUI implements PieRenderer.PieListener,
mActivity.getLayoutInflater().inflate(R.layout.video_module, (ViewGroup) mRootView, true);
mTextureView = (TextureView) mRootView.findViewById(R.id.preview_content);
mTextureView.setSurfaceTextureListener(this);
- mRootView.addOnLayoutChangeListener(mLayoutListener);
+ mTextureView.addOnLayoutChangeListener(mLayoutListener);
((CameraRootView) mRootView).setDisplayChangeListener(this);
mFlashOverlay = mRootView.findViewById(R.id.flash_overlay);
mShutterButton = (ShutterButton) mRootView.findViewById(R.id.shutter_button);