summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/VideoUI.java')
-rw-r--r--src/com/android/camera/VideoUI.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java
index 5245187ee..375e89b66 100644
--- a/src/com/android/camera/VideoUI.java
+++ b/src/com/android/camera/VideoUI.java
@@ -122,9 +122,7 @@ public class VideoUI implements PieRenderer.PieListener,
@Override
public void onLayoutChange(View v, int left, int top, int right,
int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) {
- if(mVideoMenu != null) {
- mVideoMenu.tryToCloseSubList();
- }
+ tryToCloseSubList();
}
};
@@ -1112,6 +1110,11 @@ public class VideoUI implements PieRenderer.PieListener,
mOrientation = orientation;
}
+ public void tryToCloseSubList() {
+ if (mVideoMenu != null)
+ mVideoMenu.tryToCloseSubList();
+ }
+
public int getOrientation() {
return mOrientation;
}