Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/com/dozingcatsoftware/cameratimer/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

public class MainActivity extends Activity implements Camera.PictureCallback, Camera.AutoFocusCallback, OnShutterButtonListener {

static final List<Integer> DELAY_DURATIONS = Arrays.asList(0, 5, 15, 30);
static final List<Integer> DELAY_DURATIONS = Arrays.asList(0, 5, 15, 30, 60, 120, 300, 600);
static final int DEFAULT_DELAY = 5;
static final String DELAY_PREFERENCES_KEY = "delay";
int pictureDelay = DEFAULT_DELAY;
Expand Down Expand Up @@ -335,7 +335,7 @@ void updateFlashMode(int mode) {
}

public void toggleNumberOfPictures() {
picturesToTake = (picturesToTake==1) ? 4 : 1;
picturesToTake = (picturesToTake==1) ? 100 : 1;
numberOfPicturesButton.setText(picturesToTake==1 ? R.string.singleImageButtonLabel : R.string.multiImageButtonLabel);
}

Expand Down Expand Up @@ -433,4 +433,4 @@ public void onShutterButtonFocus(boolean pressed) {
public void onShutterButtonClick() {
savePicture();
}
}
}