diff options
author | Jay Wang <jaywang@codeaurora.org> | 2015-05-22 15:47:01 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-07-10 11:20:21 -0700 |
commit | 4f98218d6d8e80ab8f7e92f36b3c654b0dbac0e9 (patch) | |
tree | 36a89a145dd1125c048c820d6fbd760632689f35 /src/com/android | |
parent | 54ad966bb60e8217e6bba37eb9234f3a3c22561f (diff) | |
download | android_packages_apps_Snap-4f98218d6d8e80ab8f7e92f36b3c654b0dbac0e9.tar.gz android_packages_apps_Snap-4f98218d6d8e80ab8f7e92f36b3c654b0dbac0e9.tar.bz2 android_packages_apps_Snap-4f98218d6d8e80ab8f7e92f36b3c654b0dbac0e9.zip |
SnapdragonCamera: Reduce number of countdown timer option
Reduce countdown timer option to "off, 2 secs, 5 secs and 10 secs"
Change-Id: I7ee49c0b7b7e8649b6d128d58de3562549ec2644
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/camera/CountDownTimerPreference.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/CountDownTimerPreference.java b/src/com/android/camera/CountDownTimerPreference.java index 3d5f3a4c7..57820ac76 100644 --- a/src/com/android/camera/CountDownTimerPreference.java +++ b/src/com/android/camera/CountDownTimerPreference.java @@ -23,7 +23,7 @@ import org.codeaurora.snapcam.R; public class CountDownTimerPreference extends IconListPreference { private static final int[] DURATIONS = { - 0, 1, 2, 3, 4, 5, 10, 15, 20, 30, 60 + 0, 2, 5, 10 }; public CountDownTimerPreference(Context context, AttributeSet attrs) { super(context, attrs); @@ -39,7 +39,7 @@ public class CountDownTimerPreference extends IconListPreference { entries[0] = context.getString(R.string.setting_off); // Off } else { entries[i] = context.getResources() - .getQuantityString(R.plurals.pref_camera_timer_entry, i, + .getQuantityString(R.plurals.pref_camera_timer_entry, DURATIONS[i], DURATIONS[i]); } } |