diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-09-20 01:12:50 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-20 01:12:50 -0700 |
commit | 43bf382b859ef11e52eff8d7df6660995105d3bd (patch) | |
tree | 80eb51ea8f3186ddba8f936389d05b690cea06fe /src/com | |
parent | 9f602873c67159805b92ecbe4872b8cdf9d9e98a (diff) | |
parent | 3cd761b5888b54683e63db051ca9f38606dc1ecc (diff) | |
download | LegacyCamera-43bf382b859ef11e52eff8d7df6660995105d3bd.zip LegacyCamera-43bf382b859ef11e52eff8d7df6660995105d3bd.tar.gz LegacyCamera-43bf382b859ef11e52eff8d7df6660995105d3bd.tar.bz2 |
Merge "Set the default of the mode picker to camera mode." into ics-factoryrom
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/camera/ModePicker.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/camera/ModePicker.java b/src/com/android/camera/ModePicker.java index a89764b..cc17f9b 100644 --- a/src/com/android/camera/ModePicker.java +++ b/src/com/android/camera/ModePicker.java @@ -16,11 +16,9 @@ package com.android.camera; -import com.android.camera.Util; import com.android.camera.ui.RotateImageView; import android.content.Context; -import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.util.AttributeSet; @@ -60,7 +58,7 @@ public class ModePicker extends RelativeLayout implements View.OnClickListener { private View mCurrentModeBar; private View mSelectedView; - private int mCurrentMode = -1; + private int mCurrentMode = 0; private Animation mFadeIn, mFadeOut; public ModePicker(Context context, AttributeSet attrs) { |