summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraSettings.java
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2010-03-15 14:08:13 +0800
committerOwen Lin <owenlin@google.com>2010-03-16 14:20:33 +0800
commit6988d4e2ef8d14d8bf3ee81c8eb3175bbf1b88ec (patch)
treead890b87333bd67dd33027718f547def10760e1a /src/com/android/camera/CameraSettings.java
parent9ae7d027bb8f55b85a158cddeb7ed84c5a0a7983 (diff)
downloadLegacyCamera-6988d4e2ef8d14d8bf3ee81c8eb3175bbf1b88ec.zip
LegacyCamera-6988d4e2ef8d14d8bf3ee81c8eb3175bbf1b88ec.tar.gz
LegacyCamera-6988d4e2ef8d14d8bf3ee81c8eb3175bbf1b88ec.tar.bz2
Fix several UI issues.
1. Remove the cross in border_last_picture 2. Remove the gripper in VideoCamera 3. Solve the popup triangle locate in wrong position 4. Remove the top and bottom borders of the preview frame in Camera 5. Rotate the on-screen indicators when orientation changed 6. Add the checking for the flash mode in VideoCamera Change-Id: I304ea3582d08c5e46ed750b7371588635a4d8009
Diffstat (limited to 'src/com/android/camera/CameraSettings.java')
-rw-r--r--src/com/android/camera/CameraSettings.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/camera/CameraSettings.java b/src/com/android/camera/CameraSettings.java
index 774bc5a..1e7cec2 100644
--- a/src/com/android/camera/CameraSettings.java
+++ b/src/com/android/camera/CameraSettings.java
@@ -26,8 +26,6 @@ import android.media.CamcorderProfile;
import android.preference.PreferenceManager;
import android.util.Log;
-import com.android.camera.R;
-
import java.util.ArrayList;
import java.util.List;
@@ -138,6 +136,8 @@ public class CameraSettings {
ListPreference flashMode = group.findPreference(KEY_FLASH_MODE);
ListPreference focusMode = group.findPreference(KEY_FOCUS_MODE);
ListPreference exposure = group.findPreference(KEY_EXPOSURE);
+ ListPreference videoFlashMode =
+ group.findPreference(KEY_VIDEOCAMERA_FLASH_MODE);
// Since the screen could be loaded from different resources, we need
// to check if the preference is available here
@@ -181,6 +181,10 @@ public class CameraSettings {
filterUnsupportedOptions(group,
focusMode, mParameters.getSupportedFocusModes());
}
+ if (videoFlashMode != null) {
+ filterUnsupportedOptions(group,
+ videoFlashMode, mParameters.getSupportedFlashModes());
+ }
if (exposure != null) {
buildExposureCompensation(group, exposure);