From d39b16c6c7e92ea3a19e25642447df750aa8def0 Mon Sep 17 00:00:00 2001 From: Cheng-Ru Lin Date: Wed, 30 Sep 2009 15:40:33 +0800 Subject: Hide the settings when user presses the camera button. Change-Id: Id43bcf2f7173d5a37134448f6c4a633ea06412b8 --- src/com/android/camera/OnScreenSettings.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/com/android/camera/OnScreenSettings.java b/src/com/android/camera/OnScreenSettings.java index b1f1a10..40518a7 100644 --- a/src/com/android/camera/OnScreenSettings.java +++ b/src/com/android/camera/OnScreenSettings.java @@ -194,6 +194,8 @@ public class OnScreenSettings { private boolean onContainerKey(KeyEvent event) { switch (event.getKeyCode()) { + case KeyEvent.KEYCODE_CAMERA: + case KeyEvent.KEYCODE_FOCUS: case KeyEvent.KEYCODE_BACK: case KeyEvent.KEYCODE_MENU: if (event.getAction() == KeyEvent.ACTION_UP) { -- cgit v1.1